From 92bd6a132e3070f81d296b0d04f12ef20c2a4bf4 Mon Sep 17 00:00:00 2001 From: JusicP Date: Sun, 31 Oct 2021 22:26:20 +0200 Subject: [PATCH] Add Android platform define --- public/tier0/platform.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/tier0/platform.h b/public/tier0/platform.h index 3da32c7c..c151c54f 100644 --- a/public/tier0/platform.h +++ b/public/tier0/platform.h @@ -245,6 +245,11 @@ typedef signed char int8; #define IsPlatform64Bits() false #endif +#ifdef _ANDROID + #define IsAndroid() true +#else + #define IsAndroid() false +#endif // From steam/steamtypes.h // RTime32 // We use this 32 bit time representing real world time.