Commit ef6d5df1 authored by Alexandre Julliard's avatar Alexandre Julliard

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

Berend Reitsma).
parent bc160ff1
...@@ -103,30 +103,30 @@ extern "C" { ...@@ -103,30 +103,30 @@ extern "C" {
#endif #endif
#ifndef near #ifndef near
#define near __ONLY_IN_WINELIB() #define near __ONLY_IN_WINELIB(/* nothing */)
#endif #endif
#ifndef far #ifndef far
#define far __ONLY_IN_WINELIB() #define far __ONLY_IN_WINELIB(/* nothing */)
#endif #endif
#ifndef _near #ifndef _near
#define _near __ONLY_IN_WINELIB() #define _near __ONLY_IN_WINELIB(/* nothing */)
#endif #endif
#ifndef _far #ifndef _far
#define _far __ONLY_IN_WINELIB() #define _far __ONLY_IN_WINELIB(/* nothing */)
#endif #endif
#ifndef NEAR #ifndef NEAR
#define NEAR __ONLY_IN_WINELIB() #define NEAR __ONLY_IN_WINELIB(/* nothing */)
#endif #endif
#ifndef FAR #ifndef FAR
#define FAR __ONLY_IN_WINELIB() #define FAR __ONLY_IN_WINELIB(/* nothing */)
#endif #endif
#ifndef _MSC_VER #ifndef _MSC_VER
# ifndef _declspec # ifndef _declspec
# define _declspec(x) __ONLY_IN_WINELIB() # define _declspec(x) __ONLY_IN_WINELIB(/* nothing */)
# endif # endif
# ifndef __declspec # ifndef __declspec
# define __declspec(x) __ONLY_IN_WINELIB() # define __declspec(x) __ONLY_IN_WINELIB(/* nothing */)
# endif # endif
#endif #endif
......
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