diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-03-25 20:18:23 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-04-10 21:05:39 +0100 |
commit | 7a56fd6c930c137669c0bf6d4ae64d720caf450b (patch) | |
tree | 8b91560a53fb9ca4162150e9df6725d838e9cc28 /external/easylogging++/easylogging++.h | |
parent | easylogging++: fix logging with static const header only data members (diff) | |
download | monero-7a56fd6c930c137669c0bf6d4ae64d720caf450b.tar.xz |
easylogging++: detect DragonFly BSD as a UNIX
Diffstat (limited to 'external/easylogging++/easylogging++.h')
-rw-r--r-- | external/easylogging++/easylogging++.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/external/easylogging++/easylogging++.h b/external/easylogging++/easylogging++.h index a2e750674..b10f8f739 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 |