mirror of
https://github.com/kevinbentley/Descent3.git
synced 2026-04-05 05:00:06 -04:00
Ensure STDCALL/STDCALLPTR is only invoked on x86
Prevent the code from trying to use stdcall for anything except (32-bit) x86 builds because it's the only platform it's applicable for.
This commit is contained in:
@@ -24,13 +24,7 @@
|
||||
#include "osiris_import.h"
|
||||
#include "osiris_common.h"
|
||||
|
||||
#ifdef _MSC_VER // Visual C++ Build
|
||||
#define STDCALL __stdcall
|
||||
#define STDCALLPTR *STDCALL
|
||||
#else // Non-Visual C++ Build
|
||||
#define STDCALL __attribute__((stdcall))
|
||||
#define STDCALLPTR STDCALL *
|
||||
#endif
|
||||
#include "module.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
Reference in New Issue
Block a user