Add NetBSD support

This commit is contained in:
David Carlier 2020-12-04 16:09:42 +00:00 committed by Léo Lam
commit 2c355b81f2
No known key found for this signature in database
GPG key ID: 0DF30F9081000741
8 changed files with 43 additions and 14 deletions

View file

@ -35,6 +35,8 @@ constexpr u32 m_os = OS_ALL | OS_LINUX;
constexpr u32 m_os = OS_ALL | OS_FREEBSD;
#elif __OpenBSD__
constexpr u32 m_os = OS_ALL | OS_OPENBSD;
#elif __NetBSD__
constexpr u32 m_os = OS_ALL | OS_NETBSD;
#endif
static API m_api = API_OPENGL;