mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 10:46:25 +00:00
lwip: prevent pointer-compare compilation warnings
This commit is contained in:
parent
b2a7ac2996
commit
a3cb9d9897
@ -53,7 +53,11 @@ typedef int64_t s64_t;
|
||||
typedef uintptr_t mem_ptr_t;
|
||||
|
||||
#ifndef NULL
|
||||
#define NULL (uintptr_t)0
|
||||
#ifndef __cplusplus
|
||||
#define NULL ((void *)0)
|
||||
#else
|
||||
#define NULL (nullptr)
|
||||
#endif
|
||||
#endif
|
||||
#endif /* LWIP_NO_STDINT_H */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user