Change Mac platform impl to inherit from Unix base

This commit is contained in:
Wojtek Figat
2021-12-29 17:01:58 +01:00
parent 378ddc66c7
commit 0dbbdc9149
25 changed files with 105 additions and 631 deletions

View File

@@ -4,6 +4,8 @@
#if PLATFORM_MAC
#include "../Unix/UnixDefines.h"
// Platform description
#define PLATFORM_64BITS 1
#define PLATFORM_ARCH_X64 1
@@ -13,7 +15,5 @@
#define PLATFORM_CACHE_LINE_SIZE 128
#define PLATFORM_HAS_HEADLESS_MODE 1
#define PLATFORM_DEBUG_BREAK __builtin_trap()
#define PLATFORM_LINE_TERMINATOR "\n"
#define PLATFORM_TEXT_IS_CHAR16 1
#endif