diff --git a/src/sdl/SDL.cpp b/src/sdl/SDL.cpp index 14534a5a..1b01975c 100644 --- a/src/sdl/SDL.cpp +++ b/src/sdl/SDL.cpp @@ -1468,7 +1468,11 @@ void handleRewinds() int main(int argc, char **argv) { +#ifndef FINAL_BUILD fprintf(stdout, "VBA-M version %s [SDL]\n", SVN_REV_STR); +#else + fprintf(stdout, "VBA-M version %s [SDL]"); +#endif home = argv[0]; SetHome(home); diff --git a/src/version.h b/src/version.h index f0da93dc..6964fdc1 100644 --- a/src/version.h +++ b/src/version.h @@ -19,7 +19,7 @@ #define VBA_NAME "VisualBoyAdvance-M" -#ifdef WIN32 +#ifndef FINAL_BUILD #include "svnrev.h" #else #ifdef SVN_REV diff --git a/src/wx/panel.cpp b/src/wx/panel.cpp index 0caa64ac..e4562607 100644 --- a/src/wx/panel.cpp +++ b/src/wx/panel.cpp @@ -450,7 +450,7 @@ void GameArea::SetFrameTitle() } tit.append(wxT("VisualBoyAdvance-M ")); -#ifndef FINAL_VERSION +#ifndef FINAL_BUILD tit.append(wxT(SVN_REV_STR)); #endif #ifndef NO_LINK