summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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