util: define PIPE_OS_FREEBSD to correct u_cpu_detect on FreeBSD.
Since the various BSDs use some different features here, define PIPE_OS_OPENBSD and PIPE_OS_NETBSD as well Signed-off-by: Robert Noland <rnoland@2hip.net>
This commit is contained in:
parent
f8d8f45278
commit
908ecb3faa
|
@ -126,6 +126,19 @@
|
|||
#endif
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
#define PIPE_OS_FREEBSD
|
||||
#define PIPE_OS_BSD
|
||||
#define PIPE_OS_UNIX
|
||||
#endif
|
||||
|
||||
#if defined(__OpenBSD__)
|
||||
#define PIPE_OS_OPENBSD
|
||||
#define PIPE_OS_BSD
|
||||
#define PIPE_OS_UNIX
|
||||
#endif
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
#define PIPE_OS_NETBSD
|
||||
#define PIPE_OS_BSD
|
||||
#define PIPE_OS_UNIX
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue