shithub: aacdec

Download patch

ref: 9fb50f9fd80aad6057f6cfb272cbe6785e2c1ff7
parent: 983a1533c9698afec7d466aa5f83eb98ac34d9e9
author: Krzysztof Nikiel <[email protected]>
date: Mon Oct 9 17:32:08 EDT 2017

added dllexport attribute for mingw gcc

--- a/include/neaacdec.h
+++ b/include/neaacdec.h
@@ -60,7 +60,7 @@
 
 #ifdef _WIN32
   #pragma pack(push, 8)
-  #define NEAACDECAPI
+  #define NEAACDECAPI __declspec(dllexport)
 #elif defined(__GNUC__) && __GNUC__ >= 4
   #define NEAACDECAPI __attribute__((visibility("default")))
 #else