mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 02:39:00 +08:00
b7057d1ade
* [freealut] add a new port Also apply review suggestions from Cheney Wang and Robert Schumacher Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * [freealut] add version info Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
33 lines
706 B
Diff
33 lines
706 B
Diff
diff --git a/include/AL/alut.h b/include/AL/alut.h
|
|
index 4b05a3c..1084604 100644
|
|
--- a/include/AL/alut.h
|
|
+++ b/include/AL/alut.h
|
|
@@ -1,24 +1,18 @@
|
|
#if !defined(AL_ALUT_H)
|
|
#define AL_ALUT_H
|
|
|
|
-#if defined(_MSC_VER)
|
|
#include <alc.h>
|
|
#include <al.h>
|
|
-#elif defined(__APPLE__)
|
|
-#include <OpenAL/alc.h>
|
|
-#include <OpenAL/al.h>
|
|
-#else
|
|
-#include <AL/al.h>
|
|
-#include <AL/alc.h>
|
|
-#endif
|
|
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#endif
|
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
|
- #if defined (ALUT_BUILD_LIBRARY)
|
|
+ #if defined(ALUT_BUILD_LIBRARY)
|
|
#define ALUT_API __declspec(dllexport)
|
|
+ #elif defined(ALUT_BUILD_STATIC)
|
|
+ #define ALUT_API extern
|
|
#else
|
|
#define ALUT_API __declspec(dllimport)
|
|
#endif
|