mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	This permits to fix a compilation bug on OpenBSD https://www.gnu.org/software/gnulib/manual/html_node/alloca_002eh.html > This header file is missing on some platforms: > FreeBSD 6.0, NetBSD 9.0, OpenBSD 6.7, mingw, MSVC 14.
		
			
				
	
	
		
			30 lines
		
	
	
	
		
			736 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
	
		
			736 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
 | 
						|
 */
 | 
						|
#define HAVE_ALLOCA_H 1
 | 
						|
 | 
						|
/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
 | 
						|
#define HAVE_FSEEKO 1
 | 
						|
 | 
						|
/* Define to 1 if you have the `pthread' library (-lpthread). */
 | 
						|
#define HAVE_LIBPTHREAD 1
 | 
						|
 | 
						|
/* Define to 1 if you have the `realpath' function. */
 | 
						|
#define HAVE_REALPATH 1
 | 
						|
 | 
						|
#if defined(__MINGW32__)
 | 
						|
#undef HAVE_ALLOCA_H
 | 
						|
#undef HAVE_REALPATH
 | 
						|
#endif
 | 
						|
#if defined(_MSC_VER)
 | 
						|
#undef HAVE_ALLOCA_H
 | 
						|
#undef HAVE_REALPATH
 | 
						|
#undef HAVE_LIBPTHREAD
 | 
						|
#undef HAVE_FSEEKO
 | 
						|
#endif
 | 
						|
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
 | 
						|
#undef HAVE_ALLOCA_H
 | 
						|
#endif
 | 
						|
 | 
						|
# ifndef __STDC_FORMAT_MACROS
 | 
						|
#  define __STDC_FORMAT_MACROS 1
 | 
						|
# endif
 |