From: Miodrag Milanovic Date: Wed, 26 Jan 2022 08:58:27 +0000 (+0100) Subject: Cleanup of config to support platforms X-Git-Tag: yosys-0.14~2^2~32 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c811a7130168d3d200d6c00bc6aeef5c5fe57a89;p=yosys.git Cleanup of config to support platforms --- diff --git a/libs/fst/config.h b/libs/fst/config.h index 5a9d2a0b1..7e66f24b7 100644 --- a/libs/fst/config.h +++ b/libs/fst/config.h @@ -2,32 +2,25 @@ */ #define HAVE_ALLOCA_H 1 -/* Define to 1 if you have the header file. */ -#define HAVE_FCNTL_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 header file. */ -#define HAVE_GETOPT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_INTTYPES_H 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 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_RPC_XDR_H */ - -/* Define to 1 if you have the `setenv' function. */ -#define HAVE_SETENV 1 - -/* Define to 1 if you have the `unsetenv' function. */ -#define HAVE_UNSETENV 1 - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "bybell@rocketmail.com" +#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 +#endif + +# ifndef __STDC_FORMAT_MACROS +# define __STDC_FORMAT_MACROS 1 +# endif