mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	aigerparse: only define __STDC_FORMAT_MACROS it not already before.
This commit is contained in:
		
							parent
							
								
									40223eaee1
								
							
						
					
					
						commit
						c15040c218
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -30,7 +30,9 @@
 | 
				
			||||||
#include <libkern/OSByteOrder.h>
 | 
					#include <libkern/OSByteOrder.h>
 | 
				
			||||||
#define __builtin_bswap32 OSSwapInt32
 | 
					#define __builtin_bswap32 OSSwapInt32
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					#ifndef __STDC_FORMAT_MACROS
 | 
				
			||||||
#define __STDC_FORMAT_MACROS
 | 
					#define __STDC_FORMAT_MACROS
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
#include <inttypes.h>
 | 
					#include <inttypes.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "kernel/yosys.h"
 | 
					#include "kernel/yosys.h"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue