mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Define NULL as in Win32.
This commit is contained in:
parent
fbb392e405
commit
7c55d77067
1 changed files with 4 additions and 2 deletions
|
@ -29,10 +29,12 @@ extern "C" {
|
|||
#endif
|
||||
#define TRUE 1
|
||||
|
||||
#ifdef NULL
|
||||
#undef NULL
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
#define NULL 0
|
||||
#else
|
||||
#define NULL ((void*)0)
|
||||
#endif
|
||||
|
||||
/* Macros to map Winelib names to the correct implementation name */
|
||||
/* depending on __WINE__ and UNICODE macros. */
|
||||
|
|
Loading…
Reference in a new issue