From c212c118d3130aafa255b4a19fd8603e643992e9 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 8 Jan 2001 17:23:43 +0000 Subject: [PATCH] Run the preprocessor with -traditional. --- config.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.bat b/config.bat index 302eb24b0dc..4f7a167c6bb 100644 --- a/config.bat +++ b/config.bat @@ -162,10 +162,10 @@ rem Create "makefile" from "makefile.in". rm -f Makefile junk.c sed -e "1,/== start of cpp stuff ==/s@^# .*$@@" junk.c If "%DJGPP_VER%" == "1" Goto mfV1 -gcc -E junk.c | sed -f ../msdos/sed1v2.inp >Makefile +gcc -E -traditional junk.c | sed -f ../msdos/sed1v2.inp >Makefile goto mfDone :mfV1 -gcc -E junk.c | sed -f ../msdos/sed1.inp >Makefile +gcc -E -traditional junk.c | sed -f ../msdos/sed1.inp >Makefile :mfDone rm -f junk.c @@ -186,7 +186,7 @@ Echo Configuring the library source directory... cd lib-src rem Create "makefile" from "makefile.in". sed -e "1,/== start of cpp stuff ==/s@^# .*$@@" junk.c -gcc -E -I. -I../src junk.c | sed -e "s/^ / /" -e "/^#/d" -e "/^[ ]*$/d" >makefile.new +gcc -E -traditional -I. -I../src junk.c | sed -e "s/^ / /" -e "/^#/d" -e "/^[ ]*$/d" >makefile.new If "%DJGPP_VER%" == "2" goto libsrc-v2 sed -f ../msdos/sed3.inp Makefile Goto libsrc2 -- 2.39.2