Blob Blame History Raw
--- advancecomp-1.14/7z/Portable.h.64bit	2005-05-26 11:02:30.000000000 -0400
+++ advancecomp-1.14/7z/Portable.h	2005-05-26 10:50:22.000000000 -0400
@@ -16,7 +16,11 @@
 typedef UINT16 WORD;
 typedef UINT32 DWORD;
 
-typedef unsigned UINT_PTR;
+#if defined(__x86_64__) || defined(__s390x__) || defined(__ppc64__) || defined(__ia64__) || defined(__sparc64__) || defined(__alpha__)
+typedef unsigned long UINT_PTR;
+#else
+typedef unsigned int UINT_PTR;
+#endif
 
 typedef int BOOL;
 #define FALSE 0