Unified OS and arch checking defines

This commit is contained in:
WerWolv
2020-12-21 12:38:30 +01:00
parent 7f5a32a83b
commit 2c1759ce0a
5 changed files with 21 additions and 8 deletions

View File

@@ -21,7 +21,7 @@ using s128 = __int128_t;
extern int mainArgc;
extern char **mainArgv;
#if defined(__EMX__) || defined (WIN32)
#ifdef OS_WINDOWS
#define MAGIC_PATH_SEPARATOR ";"
#else
#define MAGIC_PATH_SEPARATOR ":"

View File

@@ -32,7 +32,7 @@ namespace hex {
u8 utf8Char[4];
float float32;
double float64;
#if defined(_WIN64)
#if defined(OS_WINDOWS) && defined(ARCH_64_BIT)
__time32_t time32;
__time64_t time64;
#else