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

This commit is contained in:
bunnei 2014-06-09 20:54:28 -04:00 committed by bunnei
parent 4c2bff61e5
commit 06ef8f001a

View file

@ -87,7 +87,6 @@ inline struct tm* localtime_r(const time_t *clock, struct tm *result) {
#define __stdcall #define __stdcall
#define __cdecl #define __cdecl
#define LONG long
#define BOOL bool #define BOOL bool
#define DWORD u32 #define DWORD u32
@ -97,7 +96,6 @@ inline struct tm* localtime_r(const time_t *clock, struct tm *result) {
// TODO: Hacks.. // TODO: Hacks..
#include <limits.h> #include <limits.h>
#define MAX_PATH PATH_MAX
#include <strings.h> #include <strings.h>
#define stricmp(str1, str2) strcasecmp(str1, str2) #define stricmp(str1, str2) strcasecmp(str1, str2)