all repos — mgba @ 178b2f85ee88db6a747eff8e2fa9170865900a29

mGBA Game Boy Advance Emulator

Qt: Fix Windows build
Jeffrey Pfau jeffrey@endrift.com
Fri, 15 May 2015 22:12:29 -0700
commit

178b2f85ee88db6a747eff8e2fa9170865900a29

parent

356d8ea2ce478711014a32a66c356b63652b2e1d

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -41,6 +41,11 @@ }

using namespace QGBA; +#ifdef __WIN32 +// This is a macro everywhere except MinGW, it seems +using std::isnan; +#endif + Window::Window(ConfigController* config, int playerId, QWidget* parent) : QMainWindow(parent) , m_logView(new LogView())