summaryrefslogtreecommitdiff
path: root/filesystems/fuse-encfs/patches/patch-internal_easylogging++.h
blob: f426e7c95d543568972fa614ff69f6afb24856e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$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	2017-07-25 18:26:45.000000000 +0000
+++ internal/easylogging++.h
@@ -98,13 +98,18 @@
 #else
 #  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
 #else
 #  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
 #else
 #  define ELPP_OS_UNIX 0