Define NULL as in Win32.
This commit is contained in:
parent
fbb392e405
commit
7c55d77067
|
@ -29,10 +29,12 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
#define TRUE 1
|
#define TRUE 1
|
||||||
|
|
||||||
#ifdef NULL
|
|
||||||
#undef NULL
|
#undef NULL
|
||||||
#endif
|
#ifdef __cplusplus
|
||||||
#define NULL 0
|
#define NULL 0
|
||||||
|
#else
|
||||||
|
#define NULL ((void*)0)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Macros to map Winelib names to the correct implementation name */
|
/* Macros to map Winelib names to the correct implementation name */
|
||||||
/* depending on __WINE__ and UNICODE macros. */
|
/* depending on __WINE__ and UNICODE macros. */
|
||||||
|
|
Loading…
Reference in New Issue