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
commit94bda718c4b7131b48eda8c6e7c0afe79e2b7d89 (patch)
treea3e2c2c38adb686bd0a5dbd7f7dc075e2bd84671 /config.h.W32.template
parent4e4d8f246f82d492fb71bc599813016ef97be397 (diff)
downloadgunmake-94bda718c4b7131b48eda8c6e7c0afe79e2b7d89.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 853881b..2b50e4c 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