From d41717a0eae477a7bc8f3c4228e3b153efe6441e Mon Sep 17 00:00:00 2001 From: n-a-c-h <> Date: Mon, 11 Jul 2005 17:08:39 +0000 Subject: [PATCH] Work around MSVC 2003's inability to concatinate constants. --- zsnes/src/parsegen.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zsnes/src/parsegen.cpp b/zsnes/src/parsegen.cpp index 16589746..6add6d18 100644 --- a/zsnes/src/parsegen.cpp +++ b/zsnes/src/parsegen.cpp @@ -263,7 +263,8 @@ ssize_t enhanced_atoi(const char *str) system("gcc -o eatio.exe eatio.c -s"); #endif - system("."SLASH_STR"eatio.exe"); + //Older MSVCs too stupid to concatinate on their own + system((string(".")+string(SLASH_STR)+"eatio.exe").c_str()); remove("eatio.c"); remove("eatio.exe");