Fixed a potential warning caused by re-defining NULL

This commit is contained in:
Eric-Paul Ickhorn 2023-12-03 00:05:21 +01:00
parent b13ec4abcd
commit 0952d2d60d
Signed by: epickh
GPG Key ID: F5EBBE013924D95F
1 changed files with 11 additions and 1 deletions

View File

@ -27,10 +27,20 @@ typedef i64_t isz_t;
#endif #endif
#ifndef TRUE
#define TRUE (1) #define TRUE (1)
#define FALSE (0) #endif
#ifndef FALSE
#define FALSE (0)
#endif
#ifndef NULL
#define NULL ((void *) 0) #define NULL ((void *) 0)
#endif
#ifndef ZERO
#define ZERO ((rune_t) 0) #define ZERO ((rune_t) 0)
#endif
#endif // RR_TYPES_H #endif // RR_TYPES_H