summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_windows.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_windows.h b/Utilities/cmlibarchive/libarchive/archive_windows.h
index 4b09fc7..9ded13a 100644
--- a/Utilities/cmlibarchive/libarchive/archive_windows.h
+++ b/Utilities/cmlibarchive/libarchive/archive_windows.h
@@ -296,7 +296,9 @@ struct _timeval64i32 {
#define __timeval _timeval64i32
#endif
-typedef int pid_t;
+#if defined(_MSC_VER)
+ typedef int pid_t;
+#endif // _MSC_VER
/* Message digest define */
#if !defined(HAVE_OPENSSL_MD5_H) && !defined(HAVE_OPENSSL_SHA_H)