aigerparse: only define __STDC_FORMAT_MACROS it not already before.

This commit is contained in:
Henner Zeller 2020-04-07 12:50:31 -07:00
parent 40223eaee1
commit c15040c218
1 changed files with 2 additions and 0 deletions

View File

@ -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"