diff options
Diffstat (limited to 'Build/source/texk/psutils/config.h.in')
-rw-r--r-- | Build/source/texk/psutils/config.h.in | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/Build/source/texk/psutils/config.h.in b/Build/source/texk/psutils/config.h.in index 9812d1a804e..df55454a3f0 100644 --- a/Build/source/texk/psutils/config.h.in +++ b/Build/source/texk/psutils/config.h.in @@ -1,5 +1,8 @@ /* config.h.in. Generated from configure.ac by autoheader. */ +#ifndef _PSUTILS_CONFIG_H +#define _PSUTILS_CONFIG_H 1 + /* Define to 1 if the `closedir' function returns void instead of `int'. */ #undef CLOSEDIR_VOID @@ -175,4 +178,19 @@ such a type exists and the standard includes do not define it. */ #undef uint64_t -#include <kpathsea/getopt.h> +#include <kpathsea/kpathsea.h> + +#define _Noreturn +#define _GL_ATTRIBUTE_CONST + +#ifdef WIN32 +# define set_binary_mode(file, mode) _setmode(file, mode) +# ifndef __MINGW32__ +# define ftello _ftelli64 +# define fseeko _fseeki64 +# endif +#else +# define set_binary_mode(file, mode) 0 +#endif + +#endif /* _PSUTILS_CONFIG_H */ |