mirror of
https://github.com/corda/corda.git
synced 2025-01-24 05:18:24 +00:00
Fix debug build for Mac OS X
This commit is contained in:
parent
e5f95ae89d
commit
2363d6e8eb
@ -1,5 +1,6 @@
|
|||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#include "CoreFoundation/CoreFoundation.h"
|
#include "CoreFoundation/CoreFoundation.h"
|
||||||
|
#undef assert
|
||||||
#endif
|
#endif
|
||||||
#include "sys/mman.h"
|
#include "sys/mman.h"
|
||||||
#include "sys/types.h"
|
#include "sys/types.h"
|
||||||
|
@ -134,7 +134,6 @@ expect(System* s, bool v)
|
|||||||
|
|
||||||
#ifdef NDEBUG
|
#ifdef NDEBUG
|
||||||
|
|
||||||
# undef assert
|
|
||||||
# define assert(a, b)
|
# define assert(a, b)
|
||||||
|
|
||||||
#else // not NDEBUG
|
#else // not NDEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user