mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Don't redefine declspec under MSVC.
This commit is contained in:
parent
995389ef57
commit
f42bc61b86
1 changed files with 7 additions and 5 deletions
|
@ -113,12 +113,14 @@ extern "C" {
|
||||||
#define FAR __ONLY_IN_WINELIB()
|
#define FAR __ONLY_IN_WINELIB()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef _MSC_VER
|
||||||
# ifndef _declspec
|
# ifndef _declspec
|
||||||
# define _declspec(x) __ONLY_IN_WINELIB()
|
# define _declspec(x) __ONLY_IN_WINELIB()
|
||||||
# endif
|
# endif
|
||||||
# ifndef __declspec
|
# ifndef __declspec
|
||||||
# define __declspec(x) __ONLY_IN_WINELIB()
|
# define __declspec(x) __ONLY_IN_WINELIB()
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#define CALLBACK __stdcall
|
#define CALLBACK __stdcall
|
||||||
#define WINAPI __stdcall
|
#define WINAPI __stdcall
|
||||||
|
|
Loading…
Reference in a new issue