mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 13:33:02 +01:00
Fix missing define checks
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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