diff options
author | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-12-13 13:46:30 +0000 |
---|---|---|
committer | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-12-13 13:46:30 +0000 |
commit | 12b509af61e796cbcb4b814cf99b28b0985e47ee (patch) | |
tree | 60beb270dc67b6d5c8f70f7b5a63bd46d6bdc5b7 | |
parent | 78dc2e6a2e3721d9217b33ccf7ee62603e9161d0 (diff) | |
download | ioquake3-aero-12b509af61e796cbcb4b814cf99b28b0985e47ee.tar.gz ioquake3-aero-12b509af61e796cbcb4b814cf99b28b0985e47ee.zip |
Modification to stop crash on Linux for dlopened() OpenAL, will break MacOSX build again.
git-svn-id: svn://svn.icculus.org/quake3/trunk@1235 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r-- | code/client/qal.c | 5 | ||||
-rw-r--r-- | code/client/qal.h | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/code/client/qal.c b/code/client/qal.c index 457ab3a..90e2e2a 100644 --- a/code/client/qal.c +++ b/code/client/qal.c @@ -25,11 +25,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #ifdef USE_OPENAL -#ifdef USE_OPENAL_DLOPEN -#define AL_NO_PROTOTYPES -#define ALC_NO_PROTOTYPES -#endif - #include "qal.h" #ifdef USE_OPENAL_DLOPEN diff --git a/code/client/qal.h b/code/client/qal.h index fbf3d37..a041dc2 100644 --- a/code/client/qal.h +++ b/code/client/qal.h @@ -28,6 +28,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #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" |