From: Henner Zeller Date: Tue, 7 Apr 2020 19:50:31 +0000 (-0700) Subject: aigerparse: only define __STDC_FORMAT_MACROS it not already before. X-Git-Tag: working-ls180~680^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c15040c218016f95eb5b3597af82b299cb3f2abd;p=yosys.git aigerparse: only define __STDC_FORMAT_MACROS it not already before. --- diff --git a/frontends/aiger/aigerparse.cc b/frontends/aiger/aigerparse.cc index cbce0c990..92cf92fa8 100644 --- a/frontends/aiger/aigerparse.cc +++ b/frontends/aiger/aigerparse.cc @@ -30,7 +30,9 @@ #include #define __builtin_bswap32 OSSwapInt32 #endif +#ifndef __STDC_FORMAT_MACROS #define __STDC_FORMAT_MACROS +#endif #include #include "kernel/yosys.h"