Try to make unit tests work without -Wno-address

This commit is contained in:
goldsimon 2017-06-21 21:55:00 +02:00
parent c094fcc086
commit 48213650cd

View File

@ -48,6 +48,7 @@ struct lwip_mbox {
typedef struct lwip_mbox sys_mbox_t;
#define SYS_MBOX_NULL NULL
#define sys_mbox_valid(mbox) ((mbox != NULL) && ((mbox)->sem != NULL) && ((mbox)->sem != (void*)-1))
#define sys_mbox_valid_val(mbox) (((mbox).sem != NULL) && ((mbox).sem != (void*)-1))
/* DWORD (thread id) is used for sys_thread_t but we won't include windows.h */
typedef u32_t sys_thread_t;