ref: c3f7706729224b5c7affefac22af2876e0cb2cc3
parent: a79d41d0732836555996d91bd254faf84492b783
author: Steve Lhomme <robux@videolan.org>
date: Sun Sep 4 03:39:37 EDT 2005
* libdvdcss: better DLL/library difference
--- a/src/dvdcss/dvdcss.h
+++ b/src/dvdcss/dvdcss.h
@@ -57,12 +57,11 @@
#if defined(WIN32)
-#ifdef LIBDVDCSS_EXPORTS
+#if defined(LIBDVDCSS_EXPORT)
#define LIBDVDCSS_EXPORT __declspec(dllexport) extern
-#else
+#elif defined(LIBDVDCSS_IMPORT)
#define LIBDVDCSS_EXPORT __declspec(dllimport) extern
-#endif
-#else /* not WIN32 */
+#else
#define LIBDVDCSS_EXPORT extern
#endif