Add support for additional BSD platforms in platform detection

This commit is contained in:
ysdragon 2025-01-08 11:26:54 +02:00
parent 8cc1cd6f2c
commit 7ba29029e1
No known key found for this signature in database
GPG key ID: AE6E8E17DA81BA0E
2 changed files with 30 additions and 8 deletions

View file

@ -34,7 +34,7 @@
#endif
#endif
#if defined(_LINUX) || defined(_MACOSX) || defined(__APPLE__)
#if defined(_LINUX) || defined(_MACOSX) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
#define _UNIX
#endif