Don't redefine declspec under MSVC.
This commit is contained in:
parent
995389ef57
commit
f42bc61b86
|
@ -113,11 +113,13 @@ extern "C" {
|
|||
#define FAR __ONLY_IN_WINELIB()
|
||||
#endif
|
||||
|
||||
#ifndef _declspec
|
||||
#define _declspec(x) __ONLY_IN_WINELIB()
|
||||
#endif
|
||||
#ifndef __declspec
|
||||
#define __declspec(x) __ONLY_IN_WINELIB()
|
||||
#ifndef _MSC_VER
|
||||
# ifndef _declspec
|
||||
# define _declspec(x) __ONLY_IN_WINELIB()
|
||||
# endif
|
||||
# ifndef __declspec
|
||||
# define __declspec(x) __ONLY_IN_WINELIB()
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define CALLBACK __stdcall
|
||||
|
|
Loading…
Reference in New Issue