Build: Fix #1665: remove __fastcall

This commit is contained in:
John Kessenich 2019-02-07 23:28:37 -07:00
parent 1ff8346b38
commit 377bccb143
2 changed files with 2 additions and 5 deletions

View File

@ -1335,7 +1335,7 @@ void ShDestruct(ShHandle handle)
// //
// Cleanup symbol tables // Cleanup symbol tables
// //
int __fastcall ShFinalize() int ShFinalize()
{ {
glslang::GetGlobalLock(); glslang::GetGlobalLock();
--NumberOfClients; --NumberOfClients;

View File

@ -53,9 +53,6 @@
#define SH_IMPORT_EXPORT #define SH_IMPORT_EXPORT
#else #else
#define SH_IMPORT_EXPORT #define SH_IMPORT_EXPORT
#ifndef __fastcall
#define __fastcall
#endif
#define C_DECL #define C_DECL
#endif #endif
@ -83,7 +80,7 @@ SH_IMPORT_EXPORT int ShInitialize();
// //
// Call this at process shutdown to clean up memory. // 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. // Types of languages the compiler can consume.