Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Common: Removed duplicate "LONG" and "MAX_PATH" definitions.

bunnei06ef8f001a90
diff --git a/src/common/platform.h b/src/common/platform.h
index 1e8dffbd49..944bb03039 100644
--- a/src/common/platform.h
+++ b/src/common/platform.h
@@ -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)