28 lines
462 B
C
28 lines
462 B
C
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
#if defined(_WIN32)
|
|
#define IRON_WINDOWS
|
|
#elif defined(__APPLE__)
|
|
#include <TargetConditionals.h>
|
|
#if TARGET_OS_IPHONE
|
|
#define IRON_IOS
|
|
#define IRON_APPLE_SOC
|
|
#else
|
|
#define IRON_MACOS
|
|
#if defined(__arm64__)
|
|
#define IRON_APPLE_SOC
|
|
#endif
|
|
#endif
|
|
#define IRON_POSIX
|
|
#elif defined(__linux__)
|
|
#if !defined(IRON_ANDROID)
|
|
#define IRON_LINUX
|
|
#endif
|
|
#define IRON_POSIX
|
|
#endif
|
|
|
|
int kickstart(int argc, char **argv);
|