aboutsummaryrefslogtreecommitdiff
path: root/external/easylogging++/easylogging++.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-01-20 20:59:28 -0500
committerRiccardo Spagni <ric@spagni.net>2017-01-20 20:59:28 -0500
commit96a35cd2f4b7849ff1dad788a3fadd772153c29c (patch)
tree25172ec0336855567c155663289a0604550d4b9b /external/easylogging++/easylogging++.h
parent3db3a6ee1aefc7de8b85e5f19c09f57c15c91fc7 (diff)
parent7c0c5c17246c934902f1428e33370924b1872cf9 (diff)
downloadmonzero-core-96a35cd2f4b7849ff1dad788a3fadd772153c29c.tar.gz
monzero-core-96a35cd2f4b7849ff1dad788a3fadd772153c29c.tar.xz
monzero-core-96a35cd2f4b7849ff1dad788a3fadd772153c29c.zip
Merge pull request #1596
7c0c5c17 easylogging++: detect DragonFly BSD as a UNIX (moneromooo-monero)
Diffstat (limited to 'external/easylogging++/easylogging++.h')
-rw-r--r--external/easylogging++/easylogging++.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/external/easylogging++/easylogging++.h b/external/easylogging++/easylogging++.h
index 8042392a0..3395c2cb2 100644
--- a/external/easylogging++/easylogging++.h
+++ b/external/easylogging++/easylogging++.h
@@ -104,8 +104,13 @@
#else
# define ELPP_OS_SOLARIS 0
#endif
+#if (defined(__DragonFly__))
+# define ELPP_OS_DRAGONFLY 1
+#else
+# define ELPP_OS_DRAGONFLY 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_SOLARIS || ELPP_OS_DRAGONFLY) && (!ELPP_OS_WINDOWS))
# define ELPP_OS_UNIX 1
#else
# define ELPP_OS_UNIX 0