From 9c47c61ea941cffa730cec63f17f44f4ae881b58 Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Tue, 10 Aug 2010 19:48:12 +0000 Subject: [PATCH] Spell nasm options in a way that's compatible with old versions of yasm This was SVN commit r7893. --- build/premake/src/Src/gnu_cpp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/premake/src/Src/gnu_cpp.c b/build/premake/src/Src/gnu_cpp.c index 1c6a6d3149..a6033387e3 100644 --- a/build/premake/src/Src/gnu_cpp.c +++ b/build/premake/src/Src/gnu_cpp.c @@ -522,9 +522,9 @@ static const char* listCppTargets(const char* name) if (os_is("windows")) opts = ""; else if (os_is("macosx")) - opts = "-dOS_UNIX=1 "; + opts = "-D OS_UNIX=1 "; else - opts = "-dDONT_USE_UNDERLINE=1 -dOS_UNIX=1 "; + opts = "-D DONT_USE_UNDERLINE=1 -D OS_UNIX=1 "; strcat(g_buffer, "nasm "); strcat(g_buffer, opts); strcat(g_buffer, " -i"); strcat(g_buffer,input_dir );