[ros-diffs] [cwittich] 41690: define WINE_UNICODE_API msvc compatible

cwittich at svn.reactos.org cwittich at svn.reactos.org
Mon Jun 29 19:53:27 CEST 2009


Author: cwittich
Date: Mon Jun 29 21:53:26 2009
New Revision: 41690

URL: http://svn.reactos.org/svn/reactos?rev=41690&view=rev
Log:
define WINE_UNICODE_API msvc compatible

Modified:
    trunk/reactos/include/reactos/wine/unicode.h

Modified: trunk/reactos/include/reactos/wine/unicode.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/wine/unicode.h?rev=41690&r1=41689&r2=41690&view=diff
==============================================================================
--- trunk/reactos/include/reactos/wine/unicode.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/wine/unicode.h [iso-8859-1] Mon Jun 29 21:53:26 2009
@@ -45,7 +45,11 @@
 #define isprintW iswprint
 
 #ifndef WINE_UNICODE_API
-#define WINE_UNICODE_API __attribute__((dllimport))
+# if defined(_MSC_VER)
+#  define WINE_UNICODE_API __declspec(dllimport)
+# else
+#  define WINE_UNICODE_API __attribute__((dllimport))
+# endif
 #endif
 
 #ifndef __VALIST



More information about the Ros-diffs mailing list