Unify namespaces
This commit is contained in:
@@ -4,24 +4,24 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#if defined(_WIN32)
|
||||
#define KINC_WINDOWS
|
||||
#define IRON_WINDOWS
|
||||
#elif defined(__APPLE__)
|
||||
#include <TargetConditionals.h>
|
||||
#if TARGET_OS_IPHONE
|
||||
#define KINC_IOS
|
||||
#define KINC_APPLE_SOC
|
||||
#define IRON_IOS
|
||||
#define IRON_APPLE_SOC
|
||||
#else
|
||||
#define KINC_MACOS
|
||||
#define IRON_MACOS
|
||||
#if defined(__arm64__)
|
||||
#define KINC_APPLE_SOC
|
||||
#define IRON_APPLE_SOC
|
||||
#endif
|
||||
#endif
|
||||
#define KINC_POSIX
|
||||
#define IRON_POSIX
|
||||
#elif defined(__linux__)
|
||||
#if !defined(KINC_ANDROID)
|
||||
#define KINC_LINUX
|
||||
#if !defined(IRON_ANDROID)
|
||||
#define IRON_LINUX
|
||||
#endif
|
||||
#define KINC_POSIX
|
||||
#define IRON_POSIX
|
||||
#endif
|
||||
|
||||
int kickstart(int argc, char **argv);
|
||||
|
||||
Reference in New Issue
Block a user