summaryrefslogtreecommitdiff
path: root/filesystems/fuse-encfs/patches/patch-internal_easylogging++.h
diff options
context:
space:
mode:
Diffstat (limited to 'filesystems/fuse-encfs/patches/patch-internal_easylogging++.h')
-rw-r--r--filesystems/fuse-encfs/patches/patch-internal_easylogging++.h24
1 files changed, 8 insertions, 16 deletions
diff --git a/filesystems/fuse-encfs/patches/patch-internal_easylogging++.h b/filesystems/fuse-encfs/patches/patch-internal_easylogging++.h
index ab68dbb8e85..f426e7c95d5 100644
--- a/filesystems/fuse-encfs/patches/patch-internal_easylogging++.h
+++ b/filesystems/fuse-encfs/patches/patch-internal_easylogging++.h
@@ -1,34 +1,26 @@
-$NetBSD: patch-internal_easylogging++.h,v 1.1 2017/06/19 18:41:39 maya Exp $
+$NetBSD: patch-internal_easylogging++.h,v 1.2 2017/11/11 03:18:16 gdt Exp $
NetBSD support, it's a unixy OS.
---- internal/easylogging++.h.orig 2016-09-18 20:16:04.000000000 +0000
+--- internal/easylogging++.h.orig 2017-07-25 18:26:45.000000000 +0000
+++ internal/easylogging++.h
-@@ -99,13 +99,19 @@
+@@ -98,13 +98,18 @@
#else
- # define ELPP_OS_FREEBSD 0
+ # define ELPP_OS_FREEBSD 0
#endif
+#if (defined(__NetBSD__))
+# define ELPP_OS_NETBSD 1
+#else
+# define ELPP_OS_NETBSD 0
+#endif
-+
#if (defined(__sun))
- # define ELPP_OS_SOLARIS 1
+ # define ELPP_OS_SOLARIS 1
#else
- # define ELPP_OS_SOLARIS 0
+ # define ELPP_OS_SOLARIS 0
#endif
// Unix
-#if ((ELPP_OS_LINUX || ELPP_OS_MAC || ELPP_OS_FREEBSD || ELPP_OS_SOLARIS) && (!ELPP_OS_WINDOWS))
+#if ((ELPP_OS_LINUX || ELPP_OS_MAC || ELPP_OS_FREEBSD || ELPP_OS_NETBSD || ELPP_OS_SOLARIS) && (!ELPP_OS_WINDOWS))
- # define ELPP_OS_UNIX 1
+ # define ELPP_OS_UNIX 1
#else
- # define ELPP_OS_UNIX 0
-@@ -6692,4 +6698,4 @@ el::base::debug::CrashHandler elCrashHan
- #else
- # define START_EASYLOGGINGPP(argc, argv) el::Helpers::setArgs(argc, argv)
- #endif // defined(ELPP_UNICODE)
--#endif // EASYLOGGINGPP_H
-\ No newline at end of file
-+#endif // EASYLOGGINGPP_H
+ # define ELPP_OS_UNIX 0