Add an argument to all uses of the __ONLY_IN_WINELIB macro (spotted by

Berend Reitsma).
This commit is contained in:
Alexandre Julliard 2005-11-08 16:13:21 +00:00
parent bc160ff1fa
commit ef6d5df1e7
1 changed files with 8 additions and 8 deletions

View File

@ -103,30 +103,30 @@ extern "C" {
#endif
#ifndef near
#define near __ONLY_IN_WINELIB()
#define near __ONLY_IN_WINELIB(/* nothing */)
#endif
#ifndef far
#define far __ONLY_IN_WINELIB()
#define far __ONLY_IN_WINELIB(/* nothing */)
#endif
#ifndef _near
#define _near __ONLY_IN_WINELIB()
#define _near __ONLY_IN_WINELIB(/* nothing */)
#endif
#ifndef _far
#define _far __ONLY_IN_WINELIB()
#define _far __ONLY_IN_WINELIB(/* nothing */)
#endif
#ifndef NEAR
#define NEAR __ONLY_IN_WINELIB()
#define NEAR __ONLY_IN_WINELIB(/* nothing */)
#endif
#ifndef FAR
#define FAR __ONLY_IN_WINELIB()
#define FAR __ONLY_IN_WINELIB(/* nothing */)
#endif
#ifndef _MSC_VER
# ifndef _declspec
# define _declspec(x) __ONLY_IN_WINELIB()
# define _declspec(x) __ONLY_IN_WINELIB(/* nothing */)
# endif
# ifndef __declspec
# define __declspec(x) __ONLY_IN_WINELIB()
# define __declspec(x) __ONLY_IN_WINELIB(/* nothing */)
# endif
#endif