Mercurial > mplayer.hg
diff libao2/ao_openal.c @ 21556:283bff578e1c
Support OpenAL headers in OpenAL/ instead of AL/ and OpenAL on MacOSX in general.
author | reimar |
---|---|
date | Sun, 10 Dec 2006 14:07:08 +0000 |
parents | 9d9e0f1ef0e9 |
children | a29ae9b13a50 |
line wrap: on
line diff
--- a/libao2/ao_openal.c Sun Dec 10 14:04:27 2006 +0000 +++ b/libao2/ao_openal.c Sun Dec 10 14:07:08 2006 +0000 @@ -7,13 +7,19 @@ * Copyleft 2006 by Reimar Döffinger (Reimar.Doeffinger@stud.uni-karlsruhe.de) */ +#include "config.h" + #include <stdlib.h> #include <stdio.h> #include <inttypes.h> +#ifdef OPENAL_AL_H +#include <OpenAL/alc.h> +#include <OpenAL/al.h> +#else #include <AL/alc.h> #include <AL/al.h> +#endif -#include "config.h" #include "mp_msg.h" #include "help_mp.h"