summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2010-05-06 12:48:14 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2010-05-06 12:48:14 (GMT)
commitaa1450bda1d8a6751e6459e83786918cc0a7124a (patch)
treef40a7e3ca95cd64c713442503e900b8742a755a8 /Utilities
parent0ac7f85d20c7e53652c2c05128d8c454cb316be4 (diff)
downloadCMake-aa1450bda1d8a6751e6459e83786918cc0a7124a.zip
CMake-aa1450bda1d8a6751e6459e83786918cc0a7124a.tar.gz
CMake-aa1450bda1d8a6751e6459e83786918cc0a7124a.tar.bz2
Fix build on borland windows, by adding back typedef for pid_t.
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_windows.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_windows.h b/Utilities/cmlibarchive/libarchive/archive_windows.h
index 9ded13a..17f5698 100644
--- a/Utilities/cmlibarchive/libarchive/archive_windows.h
+++ b/Utilities/cmlibarchive/libarchive/archive_windows.h
@@ -296,9 +296,9 @@ struct _timeval64i32 {
#define __timeval _timeval64i32
#endif
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) || defined(__BORLANDC__)
typedef int pid_t;
-#endif // _MSC_VER
+#endif /* _MSC_VER __BORLANDC__ */
/* Message digest define */
#if !defined(HAVE_OPENSSL_MD5_H) && !defined(HAVE_OPENSSL_SHA_H)