+#elif defined(__APPLE__)
+# if TARGET_OS_IPHONE
+# define DP_OS_NAME "iOS"
+# define DP_OS_STR "ios"
+# define USE_GLES2 1
+# define LINK_TO_ZLIB 1
+# define LINK_TO_LIBVORBIS 1
+# define DP_MOBILETOUCH 1
+# define DP_FREETYPE_STATIC 1
+# elif TARGET_OS_MAC
+# define DP_OS_NAME "macOS"
+# define DP_OS_STR "macos"
+# endif