diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-01-20 20:59:28 -0500 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-01-20 20:59:28 -0500 |
commit | 96a35cd2f4b7849ff1dad788a3fadd772153c29c (patch) | |
tree | 25172ec0336855567c155663289a0604550d4b9b | |
parent | Merge pull request #1593 (diff) | |
parent | easylogging++: detect DragonFly BSD as a UNIX (diff) | |
download | monero-96a35cd2f4b7849ff1dad788a3fadd772153c29c.tar.xz |
Merge pull request #1596
7c0c5c17 easylogging++: detect DragonFly BSD as a UNIX (moneromooo-monero)
Diffstat (limited to '')
-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 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 |