summaryrefslogtreecommitdiff
path: root/config.h.W32.template
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2010-07-09 11:38:01 +0000
committerEli Zaretskii <eliz@gnu.org>2010-07-09 11:38:01 +0000
commit36a483d42c2225d58e0148954bb73fdacbc6e24e (patch)
treea3e2c2c38adb686bd0a5dbd7f7dc075e2bd84671 /config.h.W32.template
parent94e837e5debe3098883f973483e8b3b2b186a42d (diff)
downloadmake-36a483d42c2225d58e0148954bb73fdacbc6e24e.tar.gz
config.h.W32.template (pid_t): Add a definition for 64-bit Windows builds that don't use GCC.
Diffstat (limited to 'config.h.W32.template')
-rw-r--r--config.h.W32.template4
1 files changed, 4 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>. */
/* Define to `int' if <sys/types.h> 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 <sys/types.h> doesn't define. */
#define uid_t int