Files
armorpaint/base/sources/iron_global.h
T

28 lines
462 B
C
Raw Normal View History

2024-11-10 22:11:29 +01:00
#pragma once
#include <stdbool.h>
#include <stdint.h>
#if defined(_WIN32)
2025-03-09 17:02:12 +01:00
#define IRON_WINDOWS
2024-11-10 22:11:29 +01:00
#elif defined(__APPLE__)
#include <TargetConditionals.h>
#if TARGET_OS_IPHONE
2025-03-09 17:02:12 +01:00
#define IRON_IOS
#define IRON_APPLE_SOC
2024-11-10 22:11:29 +01:00
#else
2025-03-09 17:02:12 +01:00
#define IRON_MACOS
2024-11-10 22:11:29 +01:00
#if defined(__arm64__)
2025-03-09 17:02:12 +01:00
#define IRON_APPLE_SOC
2024-11-10 22:11:29 +01:00
#endif
#endif
2025-03-09 17:02:12 +01:00
#define IRON_POSIX
2024-11-10 22:11:29 +01:00
#elif defined(__linux__)
2025-03-09 17:02:12 +01:00
#if !defined(IRON_ANDROID)
#define IRON_LINUX
2024-11-10 22:11:29 +01:00
#endif
2025-03-09 17:02:12 +01:00
#define IRON_POSIX
2024-11-10 22:11:29 +01:00
#endif
int kickstart(int argc, char **argv);