diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2022-01-26 09:58:27 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2022-01-26 09:58:27 +0100 |
commit | c811a7130168d3d200d6c00bc6aeef5c5fe57a89 (patch) | |
tree | 873ebb3ff9407c43617affcd10cc487e717bebf4 /libs/fst | |
parent | ccfc00705a1658260e792e9604ae5319ec7b7c2a (diff) | |
download | yosys-c811a7130168d3d200d6c00bc6aeef5c5fe57a89.tar.gz yosys-c811a7130168d3d200d6c00bc6aeef5c5fe57a89.tar.bz2 yosys-c811a7130168d3d200d6c00bc6aeef5c5fe57a89.zip |
Cleanup of config to support platforms
Diffstat (limited to 'libs/fst')
-rw-r--r-- | libs/fst/config.h | 33 |
1 files changed, 13 insertions, 20 deletions
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 <fcntl.h> 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 <getopt.h> header file. */ -#define HAVE_GETOPT_H 1 - -/* Define to 1 if you have the <inttypes.h> 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 <rpc/xdr.h> 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 |