diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-04 17:56:23 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-04 17:56:23 +0000 |
commit | 2e62f31ca5853fdd1e587f8c45d09cc6a45ce40b (patch) | |
tree | 82bb7716f043ff0bf7dc70d25597b6aac05153fd /Build/source/texk/kpathsea/config.h | |
parent | 44167180edb89f78e62c9105af13218390561c52 (diff) |
part 1 of mingw32 patches from Taco
git-svn-id: svn://tug.org/texlive/trunk@12307 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/config.h')
-rw-r--r-- | Build/source/texk/kpathsea/config.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/config.h b/Build/source/texk/kpathsea/config.h index 283581b500b..f4b6a93020f 100644 --- a/Build/source/texk/kpathsea/config.h +++ b/Build/source/texk/kpathsea/config.h @@ -55,9 +55,9 @@ #define DEV_NULL "/dev/null" #endif -#ifdef WIN32 +#if defined (WIN32) && !defined (__STDC__) #define __STDC__ 1 -#endif /* not WIN32 */ +#endif /* System dependencies that are figured out by `configure'. */ #include <kpathsea/c-auto.h> @@ -82,8 +82,12 @@ but before "lib.h". FP. */ #ifdef WIN32 +#ifdef __MINGW32__ +#include <kpathsea/mingw32.h> +#else #include <win32lib.h> #endif +#endif #include <kpathsea/debug.h> /* Runtime tracing. */ #include <kpathsea/lib.h> /* STREQ, etc. */ |