Add __STDC_FORMAT_MACROS before <inttypes.h> as per @mithro
authorEddie Hung <eddie@fpgeh.com>
Fri, 9 Aug 2019 16:17:35 +0000 (09:17 -0700)
committerEddie Hung <eddie@fpgeh.com>
Fri, 9 Aug 2019 16:17:35 +0000 (09:17 -0700)
frontends/aiger/aigerparse.cc

index 85ee34e2d9138fb8c47ff2b2f4b220317246ff13..f8ac2724f7ac28decf419ca2c9c7f70ceb6934df 100644 (file)
@@ -30,6 +30,7 @@
 #include <libkern/OSByteOrder.h>
 #define __builtin_bswap32 OSSwapInt32
 #endif
+#define __STDC_FORMAT_MACROS
 #include <inttypes.h>
 
 #include "kernel/yosys.h"