Cleanup OpenAL includes

We use OpenAL Soft on all platforms.
This commit is contained in:
dhewg 2012-01-14 20:39:41 +01:00
parent c5cc860409
commit 668802f09a

View file

@ -29,24 +29,9 @@ If you have questions concerning this license or the applicable additional terms
#ifndef __SND_LOCAL_H__
#define __SND_LOCAL_H__
// you need the OpenAL headers for build, even if AL is not enabled - http://www.openal.org/
#ifdef _WIN32
#include <al.h>
#include <alc.h>
#include <alext.h>
// broken OpenAL SDK ?
#define ID_ALCHAR (ALubyte *)
#elif defined( MACOS_X )
#include <OpenAL/al.h>
#include <OpenAL/alc.h>
#include <OpenAL/alext.h>
#define ID_ALCHAR
#else
#include <AL/al.h>
#include <AL/alc.h>
#include <AL/alext.h>
#define ID_ALCHAR
#endif
#include "framework/UsercmdGen.h"
#include "sound/efxlib.h"