istereo2
diff src/config.h @ 6:3bccfc7d10fe
goatkit is drawing
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 23 Sep 2015 05:44:58 +0300 |
parents | 81d35769f546 |
children | a3c4fcc9f8f3 |
line diff
1.1 --- a/src/config.h Tue Sep 22 07:13:47 2015 +0300 1.2 +++ b/src/config.h Wed Sep 23 05:44:58 2015 +0300 1.3 @@ -1,10 +1,13 @@ 1.4 #ifndef CONFIG_H_ 1.5 #define CONFIG_H_ 1.6 1.7 -#if defined(__IPHONE_3_0) || defined(__IPHONE_3_2) || defined(__IPHONE_4_0) 1.8 +#ifdef __APPLE__ 1.9 +#include <TargetConditionals.h> 1.10 + 1.11 +#if defined(TARGET_IPHONE_SIMULATOR) || defined(TARGET_OS_IPHONE) 1.12 #define IPHONE 1.13 - 1.14 -#define glClearDepth glClearDepthf 1.15 #endif 1.16 1.17 +#endif /* __APPLE__ */ 1.18 + 1.19 #endif /* CONFIG_H_ */