diff --git a/desmume/src/wx/wxMain.cpp b/desmume/src/wx/wxMain.cpp index 119165e0b..b74be0aa1 100644 --- a/desmume/src/wx/wxMain.cpp +++ b/desmume/src/wx/wxMain.cpp @@ -613,7 +613,7 @@ bool Desmume::OnInit() return false; -#ifdef __WIN32__ +#ifdef WIN32 extern void OpenConsole(); OpenConsole(); #endif @@ -639,7 +639,7 @@ bool Desmume::OnInit() extern void Initialize(void *init); -#ifndef _WIN32 +#ifndef WIN32 Initialize(&PADInitialize); #endif @@ -750,7 +750,7 @@ DesmumeFrame::DesmumeFrame(const wxString& title) ChangeRotation(nds_screen_rotation_angle, false); } -#ifdef _WIN32 +#ifdef WIN32 /* * The thread handling functions needed by the GDB stub code. */