Files
mcpe/compat/PlatformDefinitions.h
Brent afe875e4fa iOS Support (#113)
undefined
2024-01-22 17:22:41 +02:00

18 lines
369 B
C

//
// PlatformDefinitions.h
// Minecraft
//
// Created by Brent on 11/27/23.
//
//
#pragma once
#ifdef __APPLE__
#include <TargetConditionals.h>
#endif
#define MC_TARGET_OS_SIMULATOR (TARGET_OS_SIMULATOR || TARGET_IPHONE_SIMULATOR)
#define MC_TARGET_OS_IOS (TARGET_OS_IPHONE && (TARGET_OS_IOS || !defined(TARGET_OS_IOS)))
#define MC_TARGET_OS_MAC (TARGET_OS_MAC)