1
0
forked from 0ad/0ad
0ad/source/lib/external_libraries/openal.h
janwas 22e4d2fd98 # win/macosx compat, add hooks to disable OpenGL feature usage
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.
2007-09-02 21:44:56 +00:00

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