]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Minor MinGW fixes.
authorCharles Wilson <cwilso11@gmail.com>
Tue, 21 Jul 2009 04:52:25 +0000 (00:52 -0400)
committerCharles Wilson <cwilso11@gmail.com>
Tue, 21 Jul 2009 04:52:25 +0000 (00:52 -0400)
* bsdtar_windows.h: New MinGW already defines PRId64; guard it.
Ensure we have definition of MAX_PATH in time, by including windows.h.

SVN-Revision: 1259

tar/bsdtar_windows.h

index b1b874e4f233f3c57c7beaec3a19155b8da8968d..1f2ce8b4a49c04a4398c6386b39fe9730a634948 100644 (file)
 
 #ifndef BSDTAR_WINDOWS_H
 #define BSDTAR_WINDOWS_H 1
+#include <windows.h>
 
+#ifndef PRId64
 #define PRId64 "I64"
+#endif
 #define geteuid()      0
 
 struct __DIR;