From: Eli Zaretskii Date: Fri, 9 Jul 2010 11:38:01 +0000 (+0000) Subject: config.h.W32.template (pid_t): Add a definition for 64-bit Windows builds that don... X-Git-Tag: 3.82~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94bda718c4b7131b48eda8c6e7c0afe79e2b7d89;p=thirdparty%2Fmake.git config.h.W32.template (pid_t): Add a definition for 64-bit Windows builds that don't use GCC. --- diff --git a/config.h.W32.template b/config.h.W32.template index 853881b4..2b50e4c4 100644 --- a/config.h.W32.template +++ b/config.h.W32.template @@ -426,8 +426,12 @@ this program. If not, see . */ /* Define to `int' if does not define. */ /* GCC 4.x reportedly defines pid_t. */ #ifndef _PID_T_ +#ifdef _WIN64 +#define pid_t __int64 +#else #define pid_t int #endif +#endif /* Define to `int' if doesn't define. */ #define uid_t int