Modification to stop crash on Linux for dlopened() OpenAL, will break MacOSX build again.

This commit is contained in:
Thilo Schulz 2007-12-13 13:46:30 +00:00
parent d075f172df
commit a9a8022d53
2 changed files with 5 additions and 5 deletions

View file

@ -25,11 +25,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#ifdef USE_OPENAL #ifdef USE_OPENAL
#ifdef USE_OPENAL_DLOPEN
#define AL_NO_PROTOTYPES
#define ALC_NO_PROTOTYPES
#endif
#include "qal.h" #include "qal.h"
#ifdef USE_OPENAL_DLOPEN #ifdef USE_OPENAL_DLOPEN

View file

@ -28,6 +28,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "../qcommon/q_shared.h" #include "../qcommon/q_shared.h"
#include "../qcommon/qcommon.h" #include "../qcommon/qcommon.h"
#ifdef USE_OPENAL_DLOPEN
#define AL_NO_PROTOTYPES
#define ALC_NO_PROTOTYPES
#endif
#ifdef USE_LOCAL_HEADERS #ifdef USE_LOCAL_HEADERS
#include "../AL/al.h" #include "../AL/al.h"
#include "../AL/alc.h" #include "../AL/alc.h"