summaryrefslogtreecommitdiff
path: root/src/common/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/platform.h')
-rw-r--r--src/common/platform.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common/platform.h b/src/common/platform.h
index 1e8dffbd4..b02b52cd2 100644
--- a/src/common/platform.h
+++ b/src/common/platform.h
@@ -47,7 +47,7 @@
#define EMU_PLATFORM PLATFORM_WINDOWS
#elif defined( __APPLE__ ) || defined( __APPLE_CC__ )
-#define EMU_PLATFORM PLATFORM_MAXOSX
+#define EMU_PLATFORM PLATFORM_MACOSX
#elif defined(__linux__)
#define EMU_PLATFORM PLATFORM_LINUX
@@ -87,7 +87,6 @@ inline struct tm* localtime_r(const time_t *clock, struct tm *result) {
#define __stdcall
#define __cdecl
-#define LONG long
#define BOOL bool
#define DWORD u32
@@ -97,7 +96,6 @@ inline struct tm* localtime_r(const time_t *clock, struct tm *result) {
// TODO: Hacks..
#include <limits.h>
-#define MAX_PATH PATH_MAX
#include <strings.h>
#define stricmp(str1, str2) strcasecmp(str1, str2)