mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
lwip: prevent pointer-compare compilation warnings
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user