all repos — mgba @ 2b80e3573f386afe2a4974e977483fde43610997

mGBA Game Boy Advance Emulator

All: OpenBSD build fixes
Jeffrey Pfau jeffrey@endrift.com
Tue, 28 Jul 2015 09:04:28 -0700
commit

2b80e3573f386afe2a4974e977483fde43610997

parent

54bff2a1ca342d91e1c85d92370381df71728375

2 files changed, 3 insertions(+), 3 deletions(-)

jump to
M src/platform/posix/threading.hsrc/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.cppsrc/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