From fd5d023e31bed14331440a55bc696d2fdb2bded7 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sun, 26 Feb 2017 11:11:43 +0000 Subject: [PATCH] oslibs,codecs: minor update to opus_defines.h git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1379 af15c1b1-3010-417e-b628-4374ebc0bcbd --- MacOSX/codecs/include/opus/opus_defines.h | 4 ++-- Windows/codecs/include/opus/opus_defines.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MacOSX/codecs/include/opus/opus_defines.h b/MacOSX/codecs/include/opus/opus_defines.h index d2b260e8..c42d301e 100644 --- a/MacOSX/codecs/include/opus/opus_defines.h +++ b/MacOSX/codecs/include/opus/opus_defines.h @@ -64,8 +64,8 @@ extern "C" { /**Export control for opus functions */ #ifndef OPUS_EXPORT -# if defined(WIN32) -# ifdef OPUS_BUILD +# if defined(_WIN32) +# if defined(OPUS_BUILD) && defined(DLL_EXPORT) # define OPUS_EXPORT __declspec(dllexport) # else # define OPUS_EXPORT diff --git a/Windows/codecs/include/opus/opus_defines.h b/Windows/codecs/include/opus/opus_defines.h index d2b260e8..c42d301e 100644 --- a/Windows/codecs/include/opus/opus_defines.h +++ b/Windows/codecs/include/opus/opus_defines.h @@ -64,8 +64,8 @@ extern "C" { /**Export control for opus functions */ #ifndef OPUS_EXPORT -# if defined(WIN32) -# ifdef OPUS_BUILD +# if defined(_WIN32) +# if defined(OPUS_BUILD) && defined(DLL_EXPORT) # define OPUS_EXPORT __declspec(dllexport) # else # define OPUS_EXPORT