forked from 0ad/0ad
janwas
9d2acce9d8
- deleted most old libraries/headers in codepit to avoid confusion (they are now in SVN anyway). updated required-libraries-linux.txt accordingly - moved rand() into separate file, out of lib.cpp - removed CGUIScrollBarStyle.cpp to avoid empty-file warning - wxwidgets.h: remove redundant #pragma lib and include wxw PCH - move openal-specific stuff to external_libraries/openal.h - cpu, bsd: macosx is-a bsd, so only test OS_BSD This was SVN commit r5082.
27 lines
617 B
C
27 lines
617 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
|
|
|
|
#ifdef __APPLE__
|
|
# 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
|