forked from rosebudai/OpenRCT2-Web
Fix missing define checks
This commit is contained in:
1 parent
f82b4b4425
commit
f2eb63847f
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -78,7 +78,7 @@
|
||||
#ifndef FASTCALL
|
||||
#ifdef __GNUC__
|
||||
#define FASTCALL __attribute__((fastcall))
|
||||
#elif _MSC_VER
|
||||
#elif defined(_MSC_VER)
|
||||
#define FASTCALL __fastcall
|
||||
#else
|
||||
#pragma message "Not using fastcall calling convention, please check your compiler support"
|
||||
|
||||
+1
-1
@@ -131,7 +131,7 @@ typedef uint8 colour_t;
|
||||
|
||||
#endif // defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
|
||||
|
||||
#if !(_POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 700)
|
||||
#if !((defined (_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200809L) || (defined(_XOPEN_SOURCE) && _XOPEN_SOURCE >= 700))
|
||||
char *strndup(const char *src, size_t size);
|
||||
#endif // !(POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 700)
|
||||
|
||||
|
||||
Reference in new issue
Block a user