Fix outdated calling convention in SAASound (maybe fix MinGW)
https://docs.microsoft.com/en-us/cpp/cpp/stdcall?view=msvc-170 > For compatibility with previous versions, _stdcall is a synonym for __stdcall > unless compiler option /Za (Disable language extensions) is specified.
This commit is contained in:
parent
b35701f938
commit
58fc35227e
2
extern/SAASound/src/SAASound.h
vendored
2
extern/SAASound/src/SAASound.h
vendored
|
@ -53,7 +53,7 @@ typedef unsigned long SAAPARAM;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define SAAAPI _stdcall
|
#define SAAAPI __stdcall
|
||||||
#else
|
#else
|
||||||
#define SAAAPI
|
#define SAAAPI
|
||||||
#endif
|
#endif
|
||||||
|
|
2
extern/SAASound/src/types.h
vendored
2
extern/SAASound/src/types.h
vendored
|
@ -30,7 +30,7 @@ typedef struct
|
||||||
} ENVDATA;
|
} ENVDATA;
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
extern "C" void _stdcall OutputDebugStringA (char*);
|
extern "C" void __stdcall OutputDebugStringA (char*);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue