Skip to content

Commit e0390ab

Browse files
committed
Add macOS support
1 parent fb6c32d commit e0390ab

File tree

5 files changed

+2717
-3
lines changed

5 files changed

+2717
-3
lines changed

config.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
#if defined(__APPLE__)
2+
#include <TargetConditionals.h>
3+
#endif
4+
15
#if defined(WIN32) || defined(_WIN32)
26
#include "config_windows_x86_64.h"
37
#elif defined(__gnu_linux__)
48
#include "config_linux_x86_64.h"
9+
#elif defined(TARGET_OS_MAC) && TARGET_OS_MAC
10+
#include "config_macosx_x86_64.h"
511
#elif defined(__ANDROID__)
612
#if defined(__aarch64__)
713
#include "config_android_aarch64.h"

0 commit comments

Comments
 (0)