added SDL_LOADSO_DLOPEN macro gsoc2008_iphone
authorHolmes Futrell <hfutrell@umail.ucsb.edu>
Fri, 18 Jul 2008 18:23:23 +0000
branchgsoc2008_iphone
changeset 2368 83a6323c3f40
parent 2367 e75989d19f46
child 2369 76e4bb13c937
added SDL_LOADSO_DLOPEN macro
include/SDL_config_iphoneos.h
--- a/include/SDL_config_iphoneos.h	Fri Jul 18 18:22:41 2008 +0000
+++ b/include/SDL_config_iphoneos.h	Fri Jul 18 18:23:23 2008 +0000
@@ -43,7 +43,9 @@
 
 typedef unsigned long uintptr_t;
 
+/* enable OpenGL ES */
 #define SDL_VIDEO_OPENGL_ES	1
+
 #define SDL_VIDEO_RENDER_OGL_ES	1
 
 #define SDL_HAS_64BIT_TYPE	0
@@ -55,6 +57,9 @@
 #define SDL_AUDIO_DRIVER_COREAUDIOIPHONE 1
 #define SDL_AUDIO_DRIVER_DUMMY	1
 
+/* Enable Unix style SO loading */
+#define SDL_LOADSO_DLOPEN 1
+
 /* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */
 #define SDL_CDROM_DISABLED	1