All: OpenBSD build fixes
Jeffrey Pfau jeffrey@endrift.com
Tue, 28 Jul 2015 09:04:28 -0700
2 files changed,
3 insertions(+),
3 deletions(-)
M
src/platform/posix/threading.h
→
src/platform/posix/threading.h
@@ -79,7 +79,7 @@
static inline int ThreadSetName(const char* name) { #ifdef __APPLE__ return pthread_setname_np(name); -#elif defined(__FreeBSD__) +#elif defined(__FreeBSD__) || defined(__OpenBSD__) pthread_set_name_np(pthread_self(), name); return 0; #else
M
src/platform/qt/Window.cpp
→
src/platform/qt/Window.cpp
@@ -40,8 +40,8 @@ }
using namespace QGBA; -#ifdef __WIN32 -// This is a macro everywhere except MinGW, it seems +#if defined(__WIN32) || defined(__OpenBSD__) +// This is a macro everywhere except MinGW and OpenBSD, it seems using std::isnan; #endif