r1235 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Dec 13 08:46:31 EST 2007


Author: thilo
Date: 2007-12-13 08:46:30 -0500 (Thu, 13 Dec 2007)
New Revision: 1235

Modified:
   trunk/code/client/qal.c
   trunk/code/client/qal.h
Log:
Modification to stop crash on Linux for dlopened() OpenAL, will break MacOSX build again.


Modified: trunk/code/client/qal.c
===================================================================
--- trunk/code/client/qal.c	2007-12-13 10:58:43 UTC (rev 1234)
+++ trunk/code/client/qal.c	2007-12-13 13:46:30 UTC (rev 1235)
@@ -25,11 +25,6 @@
 
 #ifdef USE_OPENAL
 
-#ifdef USE_OPENAL_DLOPEN
-#define AL_NO_PROTOTYPES
-#define ALC_NO_PROTOTYPES
-#endif
-
 #include "qal.h"
 
 #ifdef USE_OPENAL_DLOPEN

Modified: trunk/code/client/qal.h
===================================================================
--- trunk/code/client/qal.h	2007-12-13 10:58:43 UTC (rev 1234)
+++ trunk/code/client/qal.h	2007-12-13 13:46:30 UTC (rev 1235)
@@ -28,6 +28,11 @@
 #include "../qcommon/q_shared.h"
 #include "../qcommon/qcommon.h"
 
+#ifdef USE_OPENAL_DLOPEN
+#define AL_NO_PROTOTYPES
+#define ALC_NO_PROTOTYPES
+#endif
+
 #ifdef USE_LOCAL_HEADERS
 #include "../AL/al.h"
 #include "../AL/alc.h"




More information about the quake3-commits mailing list