aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-01-20 00:33:13 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-01-20 00:33:13 +0000
commit7c0c5c17246c934902f1428e33370924b1872cf9 (patch)
tree8355fc07c0d77e1a6bb06f5f8a18a945e4e6e9fa
parentMerge pull request #1585 (diff)
downloadmonero-7c0c5c17246c934902f1428e33370924b1872cf9.tar.xz
easylogging++: detect DragonFly BSD as a UNIX
-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 688648452..4a378923a 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