From 33038853cb4138acd35cc4299e82533915fcc06f Mon Sep 17 00:00:00 2001 From: tg Date: Mon, 4 Jun 2007 20:26:47 +0000 Subject: [PATCH] glibc headers with SUNpro make this test pass incorrectly --- Build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Build.sh b/Build.sh index 1a853a0..6eb4416 100644 --- a/Build.sh +++ b/Build.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $MirOS: src/bin/mksh/Build.sh,v 1.192 2007/06/04 20:22:08 tg Exp $ +# $MirOS: src/bin/mksh/Build.sh,v 1.193 2007/06/04 20:26:47 tg Exp $ #- # Environment used: CC CFLAGS CPP CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS # CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NEED_MKNOD MKSH_NOPWNAM @@ -345,6 +345,7 @@ test $ct = sunpro && test 1 = $HAVE_CAN_ERRWARNALL && NOWARN='-errwarn=%all' # ac_test attribute '' 'if we have __attribute__((...)) at all' <<-'EOF' #include + #undef __attribute__ void fnord(void) __attribute__((noreturn)); int main(void) { fnord(); } void fnord(void) { exit(0); } @@ -352,6 +353,7 @@ EOF ac_test attribute_bounded attribute 0 'for __attribute__((bounded))' <<-'EOF' #include + #undef __attribute__ int xcopy(const void *, void *, size_t) __attribute__((bounded (buffer, 1, 3))) __attribute__((bounded (buffer, 2, 3)));