Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech> Reviewed-on: https://git.avroid.tech/Conan/conan_build/pulls/9
23 lines
535 B
Diff
23 lines
535 B
Diff
--- include/FLAC/export.h
|
|
+++ include/FLAC/export.h
|
|
@@ -74,7 +74,7 @@
|
|
*/
|
|
#if defined(_WIN32)
|
|
|
|
-#if defined(FLAC__NO_DLL) && !(defined(DLL_EXPORT))
|
|
+#if defined(FLAC__NO_DLL)
|
|
#define FLAC_API
|
|
#else
|
|
#ifdef FLAC_API_EXPORTS
|
|
--- include/FLAC++/export.h
|
|
+++ include/FLAC++/export.h
|
|
@@ -73,7 +73,7 @@
|
|
* by libtool, must override FLAC__NO_DLL on building shared components
|
|
*/
|
|
#if defined(_WIN32)
|
|
-#if defined(FLAC__NO_DLL) && !(defined(DLL_EXPORT))
|
|
+#if defined(FLAC__NO_DLL)
|
|
#define FLACPP_API
|
|
#else
|
|
#ifdef FLACPP_API_EXPORTS
|