diff options
Diffstat (limited to 'editors/Sigil/patches/patch-src_ZipArchive_ZipPlatform__lnx.cpp')
-rw-r--r-- | editors/Sigil/patches/patch-src_ZipArchive_ZipPlatform__lnx.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/editors/Sigil/patches/patch-src_ZipArchive_ZipPlatform__lnx.cpp b/editors/Sigil/patches/patch-src_ZipArchive_ZipPlatform__lnx.cpp index 7d2c2e0ae94..4b12e38192a 100644 --- a/editors/Sigil/patches/patch-src_ZipArchive_ZipPlatform__lnx.cpp +++ b/editors/Sigil/patches/patch-src_ZipArchive_ZipPlatform__lnx.cpp @@ -1,24 +1,24 @@ -$NetBSD: patch-src_ZipArchive_ZipPlatform__lnx.cpp,v 1.2 2012/08/11 17:34:05 marino Exp $ +$NetBSD: patch-src_ZipArchive_ZipPlatform__lnx.cpp,v 1.3 2012/08/12 02:12:51 marino Exp $ Add DragonFly support. ---- src/ZipArchive/ZipPlatform_lnx.cpp.orig 2012-02-25 10:54:10.000000000 +0000 +--- src/ZipArchive/ZipPlatform_lnx.cpp.orig 2011-10-14 18:30:33 +0000 +++ src/ZipArchive/ZipPlatform_lnx.cpp @@ -16,7 +16,7 @@ -
- #ifdef _ZIP_SYSTEM_LINUX
-
--#if defined __APPLE__ || defined __CYGWIN__ || defined __NetBSD__
-+#if defined __APPLE__ || defined __CYGWIN__ || defined __NetBSD__ || defined __DragonFly__
- #define FILE_FUNCTIONS_64B_BY_DEFAULT
- #else
- #undef FILE_FUNCTIONS_64B_BY_DEFAULT
+ + #ifdef _ZIP_SYSTEM_LINUX + +-#if defined __APPLE__ || defined __CYGWIN__ || defined __NetBSD__ ++#if defined __APPLE__ || defined __CYGWIN__ || defined __NetBSD__ || defined __DragonFly__ + #define FILE_FUNCTIONS_64B_BY_DEFAULT + #else + #undef FILE_FUNCTIONS_64B_BY_DEFAULT @@ -34,7 +34,7 @@ -
- #include <sys/types.h>
-
--#if defined (__FreeBSD__) || defined (__APPLE__) || defined (__NetBSD__)
-+#if defined (__FreeBSD__) || defined (__APPLE__) || defined (__NetBSD__) || defined (__DragonFly__)
- #include <sys/param.h>
- #include <sys/mount.h>
- #else
+ + #include <sys/types.h> + +-#if defined (__FreeBSD__) || defined (__APPLE__) || defined (__NetBSD__) ++#if defined (__FreeBSD__) || defined (__APPLE__) || defined (__NetBSD__) || defined (__DragonFly__) + #include <sys/param.h> + #include <sys/mount.h> + #else |