shithub: opus

Download patch

ref: bc1683d9832ae7f9dff2d4287ab84a142a0450c9
parent: 9ce27c564efe9a8074ab6e285051790807a74b9e
author: Jean-Marc Valin <[email protected]>
date: Thu May 31 07:50:33 EDT 2012

Seems like using dllimport on Windows wasn't useful

This was a problem for static builds

--- a/include/opus_defines.h
+++ b/include/opus_defines.h
@@ -69,7 +69,7 @@
 # ifdef OPUS_BUILD
 #   define OPUS_EXPORT __declspec(dllexport)
 # else
-#   define OPUS_EXPORT __declspec(dllimport)
+#   define OPUS_EXPORT
 # endif
 #else
 # define OPUS_EXPORT