Build: Fix #1665: remove __fastcall
authorJohn Kessenich <cepheus@frii.com>
Fri, 8 Feb 2019 06:28:37 +0000 (23:28 -0700)
committerJohn Kessenich <cepheus@frii.com>
Fri, 8 Feb 2019 06:28:37 +0000 (23:28 -0700)
glslang/MachineIndependent/ShaderLang.cpp
glslang/Public/ShaderLang.h

index 3d93aa2..d6441ef 100755 (executable)
@@ -1335,7 +1335,7 @@ void ShDestruct(ShHandle handle)
 //
 // Cleanup symbol tables
 //
-int __fastcall ShFinalize()
+int ShFinalize()
 {
     glslang::GetGlobalLock();
     --NumberOfClients;
index d73021c..26bf8bf 100755 (executable)
@@ -53,9 +53,6 @@
 #define SH_IMPORT_EXPORT
 #else
 #define SH_IMPORT_EXPORT
-#ifndef __fastcall
-#define __fastcall
-#endif
 #define C_DECL
 #endif
 
@@ -83,7 +80,7 @@ SH_IMPORT_EXPORT int ShInitialize();
 //
 // Call this at process shutdown to clean up memory.
 //
-SH_IMPORT_EXPORT int __fastcall ShFinalize();
+SH_IMPORT_EXPORT int ShFinalize();
 
 //
 // Types of languages the compiler can consume.