Merge pull request #1596

7c0c5c17 easylogging++: detect DragonFly BSD as a UNIX (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-01-20 20:59:28 -05:00
commit 96a35cd2f4
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -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