projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40223ea
)
aigerparse: only define __STDC_FORMAT_MACROS it not already before.
author
Henner Zeller
<h.zeller@acm.org>
Tue, 7 Apr 2020 19:50:31 +0000
(12:50 -0700)
committer
Henner Zeller
<h.zeller@acm.org>
Tue, 7 Apr 2020 19:50:31 +0000
(12:50 -0700)
frontends/aiger/aigerparse.cc
patch
|
blob
|
history
diff --git
a/frontends/aiger/aigerparse.cc
b/frontends/aiger/aigerparse.cc
index cbce0c9903d403a5ce7a71bbb5b0120bfa7905d4..92cf92fa8b1d160d7f070eb72b6422cc1f2c780f 100644
(file)
--- a/
frontends/aiger/aigerparse.cc
+++ b/
frontends/aiger/aigerparse.cc
@@
-30,7
+30,9
@@
#include <libkern/OSByteOrder.h>
#define __builtin_bswap32 OSSwapInt32
#endif
+#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS
+#endif
#include <inttypes.h>
#include "kernel/yosys.h"