libaacs | branch: master | npzacs <[email protected]> | Mon Sep 27 19:04:55 2010 
+0300| [078bd7fc7844dc80b133497b0dfb90c7cf338c59] | committer: npzacs 

Added dllexport

> http://git.videolan.org/gitweb.cgi/libaacs.git/?a=commit;h=078bd7fc7844dc80b133497b0dfb90c7cf338c59
---

 src/util/attributes.h |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/util/attributes.h b/src/util/attributes.h
index ed63949..f37c870 100644
--- a/src/util/attributes.h
+++ b/src/util/attributes.h
@@ -31,7 +31,15 @@
 #    define AACS_ATTR_PACKED
 #endif
 
-#if defined(__GNUC__) && __GNUC__ >= 4
+#if defined(_WIN32)
+#    if defined(__GNUC__)
+#        define AACS_PUBLIC  __attribute__((dllexport))
+#        define AACS_PRIVATE
+#    else
+#        define AACS_PUBLIC  __declspec(dllexport)
+#        define AACS_PRIVATE
+#    endif
+#elif defined(__GNUC__) && __GNUC__ >= 4
 #    define AACS_PUBLIC  __attribute__((visibility("default")))
 #    define AACS_PRIVATE __attribute__((visibility("hidden")))
 #else

_______________________________________________
libaacs-devel mailing list
[email protected]
http://mailman.videolan.org/listinfo/libaacs-devel

Reply via email to