From 8d36acd29b8c2a496744eb28fb2e28e42eb6370a Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 8 Aug 2008 03:09:16 +0000 Subject: [PATCH] Take a peek at netware's gcc predefined symbols. --- tests/testcurl.pl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 79ff7769a..2eea52970 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -492,6 +492,16 @@ if ($configurebuild) { # lib/Makefile.netware now copies curlbuild.h.dist as curlbuild.h system("$make -i -C lib -f Makefile.$targetos prebuild"); system("$make -i -C src -f Makefile.$targetos prebuild"); + # peek compiler predefined symbols... + system("echo | gcc -m32 -E -dM - >predef.txt"); + logit "display predef.txt"; + if(open(F, "predef.txt")) { + while () { + print; + } + close(F); + } + # } }