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/unico…
==============================================================================
--- 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