mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 00:52:16 +00:00
Do not unconditionally define unix on OpenBSD. (#85)
This resolves a warning that popped up when we switched to Clang as Clang defines unix in addition to __unix__ unlike GCC.
This commit is contained in:
@@ -328,7 +328,9 @@
|
||||
#ifdef __OpenBSD__
|
||||
#define OSMINOR "OS=OPENBSD"
|
||||
#define OS_OPENBSD
|
||||
#define unix
|
||||
#ifndef unix
|
||||
#define unix
|
||||
#endif
|
||||
#endif
|
||||
#if defined (__FreeBSD_kernel__) && !defined(__FreeBSD__)
|
||||
#define OSMINOR "OS=KFREEBSD"
|
||||
|
||||
Reference in New Issue
Block a user