mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-29 06:10:09 +08:00
conftest correctly detects NetBSD and OpenBSD for TRIPLET_OS
This commit is contained in:
parent
f5f8326531
commit
53f7d8baf4
@ -194,6 +194,10 @@ int main(int argc, char **argv)
|
||||
# define TRIPLET_OS "linux"
|
||||
#elif defined (__FreeBSD__) || defined (__FreeBSD_kernel__)
|
||||
# define TRIPLET_OS "kfreebsd"
|
||||
#elif defined(__NetBSD__)
|
||||
# define TRIPLET_OS "netbsd"
|
||||
#elif defined(__OpenBSD__)
|
||||
# define TRIPLET_OS "openbsd"
|
||||
#elif defined(_WIN32)
|
||||
# define TRIPLET_OS "win32"
|
||||
#elif defined(__APPLE__)
|
||||
|
Loading…
Reference in New Issue
Block a user