diff options
author | Ruben Van Boxem <vanboxem.ruben@gmail.com> | 2010-04-12 20:07:05 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2010-05-05 21:13:21 (GMT) |
commit | 7883f952b06e378eef7662a42a8c466cbe5aa285 (patch) | |
tree | 23ddf84c15e545f177238e83915e652edebce2f3 /Utilities | |
parent | e0acb6ca5fbe5429b6a1cc7f7188dd3e388ffd7c (diff) | |
download | CMake-7883f952b06e378eef7662a42a8c466cbe5aa285.zip CMake-7883f952b06e378eef7662a42a8c466cbe5aa285.tar.gz CMake-7883f952b06e378eef7662a42a8c466cbe5aa285.tar.bz2 |
Win64 fixes for mingw-w64 compilation
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive_windows.h | 4 |
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) |