janwas
22e4d2fd98
config: add 2 parameters to allow disabling s3tc/auto mipmap gen wpthread: add support for named semaphores (required for macosx compat) openal, ogghack: remove direct use of __APPLE__ macro (replace with OS_MACOSX) GraphicsSetupHandlers.cpp: fix incorrect usage of OS_ macros (they're always defined, so the test should be if their value is != 0) This was SVN commit r5316.
27 lines
614 B
C
27 lines
614 B
C
/**
|
|
* =========================================================================
|
|
* File : openal.h
|
|
* Project : 0 A.D.
|
|
* Description : bring in OpenAL header+library, with compatibility fixes
|
|
* =========================================================================
|
|
*/
|
|
|
|
// license: GPL; see lib/license.txt
|
|
|
|
#ifndef INCLUDED_OPENAL
|
|
#define INCLUDED_OPENAL
|
|
|
|
#if OS_MACOSX
|
|
# include <OpenAL/al.h>
|
|
# include <OpenAL/alc.h>
|
|
#else
|
|
# include <AL/al.h>
|
|
# include <AL/alc.h>
|
|
#endif
|
|
|
|
#if MSC_VERSION
|
|
# pragma comment(lib, "openal32.lib")
|
|
#endif
|
|
|
|
#endif // #ifndef INCLUDED_OPENAL
|