No need for \n at __OUTPUT_FORMAT__ macro end

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2010-07-12 15:19:17 +04:00
parent fed61a547f
commit 69ce75076c

2
nasm.c
View File

@ -261,7 +261,7 @@ static void define_macros_late(void)
{
char temp[128];
snprintf(temp, sizeof(temp), "__OUTPUT_FORMAT__=%s\n",
snprintf(temp, sizeof(temp), "__OUTPUT_FORMAT__=%s",
ofmt->shortname);
pp_pre_define(temp);
}