SDL and OpenAL headers.
This commit is contained in:
1 parent
721b9a7d01
commit
877f360812
38 files changed
+11729
No files matched your search
@@ -0,0 +1,55 @@
|
||||
#ifndef __alu_h_
|
||||
#define __alu_h_
|
||||
|
||||
#ifdef _WIN32
|
||||
#define ALAPI __declspec(dllexport)
|
||||
#define ALAPIENTRY __cdecl
|
||||
#else /* _WIN32 */
|
||||
|
||||
#ifdef TARGET_OS_MAC
|
||||
#if TARGET_OS_MAC
|
||||
#pragma export on
|
||||
#endif /* TARGET_OS_MAC */
|
||||
#endif /* TARGET_OS_MAC */
|
||||
|
||||
#define ALAPI
|
||||
#define ALAPIENTRY
|
||||
#define AL_CALLBACK
|
||||
#endif /* _WIN32 */
|
||||
|
||||
#if defined(__MACH__) && defined(__APPLE__)
|
||||
#include <OpenAL/al.h>
|
||||
#include <OpenAL/alutypes.h>
|
||||
#else
|
||||
#include <AL/al.h>
|
||||
#include <AL/alutypes.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef AL_NO_PROTOTYPES
|
||||
|
||||
|
||||
|
||||
#else
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif /* AL_NO_PROTOTYPES */
|
||||
|
||||
#ifdef TARGET_OS_MAC
|
||||
#if TARGET_OS_MAC
|
||||
#pragma export off
|
||||
#endif /* TARGET_OS_MAC */
|
||||
#endif /* TARGET_OS_MAC */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __alu_h_ */
|
||||
|
||||
Reference in new issue
Block a user