Modification to stop crash on Linux for dlopened() OpenAL, will break MacOSX build again.
This commit is contained in:
1 parent
d075f172df
commit
a9a8022d53
2 files changed
+5
-5
No files matched your search
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user