Skip to content

Commit

Permalink
BUILD: Use proper OpenAL includes on OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
clone2727 committed Jan 24, 2013
1 parent 84fd7d0 commit daa4176
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ case "$target" in
*darwin*)
dnl TODO: Eventually add a test for OS X for OpenAL

AL_CFLAGS="-I/System/Library/Frameworks/OpenAL.framework/Headers"
AL_CFLAGS=""
AL_LIBS="-framework OpenAL"
;;
*)
Expand Down
4 changes: 2 additions & 2 deletions src/sound/sound.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
// Mac OS X has to have this set up separately because of the include
// path for the OpenAL framework.
#ifdef MACOSX
#include <al.h>
#include <alc.h>
#include <OpenAL/al.h>
#include <OpenAL/alc.h>
#else
#include <AL/al.h>
#include <AL/alc.h>
Expand Down

0 comments on commit daa4176

Please sign in to comment.