From c811a7130168d3d200d6c00bc6aeef5c5fe57a89 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 26 Jan 2022 09:58:27 +0100 Subject: [PATCH] Cleanup of config to support platforms --- libs/fst/config.h | 33 +++++++++++++-------------------- 1 file 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 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 -- 2.30.2