diff --git a/rpcs3/Gui/AboutDialog.h b/rpcs3/Gui/AboutDialog.h index 8b7620af74..ed6897f2bb 100644 --- a/rpcs3/Gui/AboutDialog.h +++ b/rpcs3/Gui/AboutDialog.h @@ -36,7 +36,7 @@ AboutDialog::AboutDialog(wxWindow *parent) t_descr->SetForegroundColour(wxColor(255,255,255)); t_descr->SetPosition(wxPoint(12,50)); -#ifdef WIN32 +#ifdef _WIN32 wxStaticText* t_version = new wxStaticText(this, wxID_ANY, wxString::Format(_PRGNAME_" Version : " "git-" RPCS3_GIT_VERSION)); #else wxStaticText* t_version = new wxStaticText(this, wxID_ANY, wxString::Format(_PRGNAME_" Version : " _PRGVER_)); diff --git a/rpcs3/Gui/MainFrame.cpp b/rpcs3/Gui/MainFrame.cpp index 98d2d69bba..067d537b34 100644 --- a/rpcs3/Gui/MainFrame.cpp +++ b/rpcs3/Gui/MainFrame.cpp @@ -5,7 +5,7 @@ #include "rpcs3.h" #include "MainFrame.h" -#ifndef __unix__ +#ifdef _WIN32 #include "git-version.h" #endif #include "Ini.h" @@ -72,7 +72,7 @@ MainFrame::MainFrame() , m_sys_menu_opened(false) { -#ifdef WIN32 +#ifdef _WIN32 SetLabel(wxString::Format(_PRGNAME_ " " RPCS3_GIT_VERSION)); #else SetLabel(wxString::Format(_PRGNAME_ " " _PRGVER_));