OpenAL detection fix for MacOS X.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1679 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -24,12 +24,15 @@
|
||||
#include "libs/sound/sound.h"
|
||||
#include "options.h"
|
||||
|
||||
#if defined(WIN32) || defined(__APPLE__)
|
||||
#if defined(WIN32)
|
||||
# include <al.h>
|
||||
# include <alc.h>
|
||||
# ifdef _MSC_VER
|
||||
# pragma comment (lib, "OpenAL32.lib")
|
||||
# endif
|
||||
#elif defined (__APPLE__)
|
||||
# include <OpenAL/al.h>
|
||||
# include <OpenAL/alc.h>
|
||||
#else
|
||||
# include <AL/al.h>
|
||||
# include <AL/alc.h>
|
||||
|
||||
Reference in New Issue
Block a user