mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 10:01:02 +00:00
easylogging++: detect DragonFly BSD as a UNIX
This commit is contained in:
parent
2c8b23e331
commit
7a56fd6c93
1 changed files with 6 additions and 1 deletions
7
external/easylogging++/easylogging++.h
vendored
7
external/easylogging++/easylogging++.h
vendored
|
@ -104,8 +104,13 @@
|
||||||
#else
|
#else
|
||||||
# define ELPP_OS_SOLARIS 0
|
# define ELPP_OS_SOLARIS 0
|
||||||
#endif
|
#endif
|
||||||
|
#if (defined(__DragonFly__))
|
||||||
|
# define ELPP_OS_DRAGONFLY 1
|
||||||
|
#else
|
||||||
|
# define ELPP_OS_DRAGONFLY 0
|
||||||
|
#endif
|
||||||
// Unix
|
// 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
|
# define ELPP_OS_UNIX 1
|
||||||
#else
|
#else
|
||||||
# define ELPP_OS_UNIX 0
|
# define ELPP_OS_UNIX 0
|
||||||
|
|
Loading…
Reference in a new issue