Add basic NetBSD support

This commit is contained in:
Kamil Rytarowski
2016-07-30 11:41:40 +02:00
parent 475c66d2cc
commit 3c4ccd41fa
6 changed files with 33 additions and 11 deletions

View File

@ -306,6 +306,11 @@ LLVM:
# define POSH_OS_STRING "FreeBSD"
#endif
#if defined __NetBSD__
# define POSH_OS_NETBSD 1
# define POSH_OS_STRING "NetBSD"
#endif
#if defined __OpenBSD__
# define POSH_OS_OPENBSD 1
# define POSH_OS_STRING "OpenBSD"
@ -1027,5 +1032,3 @@ extern posh_i64_t POSH_ReadI64FromBig( const void *src );
#ifdef __cplusplus
}
#endif