Commit f42bc61b authored by Rolf Kalbermatter's avatar Rolf Kalbermatter Committed by Alexandre Julliard

Don't redefine declspec under MSVC.

parent 995389ef
...@@ -113,11 +113,13 @@ extern "C" { ...@@ -113,11 +113,13 @@ extern "C" {
#define FAR __ONLY_IN_WINELIB() #define FAR __ONLY_IN_WINELIB()
#endif #endif
#ifndef _declspec #ifndef _MSC_VER
#define _declspec(x) __ONLY_IN_WINELIB() # ifndef _declspec
#endif # define _declspec(x) __ONLY_IN_WINELIB()
#ifndef __declspec # endif
#define __declspec(x) __ONLY_IN_WINELIB() # ifndef __declspec
# define __declspec(x) __ONLY_IN_WINELIB()
# endif
#endif #endif
#define CALLBACK __stdcall #define CALLBACK __stdcall
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment