Change 30129 by [EMAIL PROTECTED] on 2007/02/05 15:35:56
Subject: [PATCH] cygwin: disable effect of -ansi -std=c89 on system
include
From: "Yitzchak Scott-Thoennes" <[EMAIL PROTECTED]>
Date: Mon, 5 Feb 2007 03:32:59 -0800 (PST)
Message-ID: <[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/hints/cygwin.sh#20 edit
Differences ...
==== //depot/perl/hints/cygwin.sh#20 (text) ====
Index: perl/hints/cygwin.sh
--- perl/hints/cygwin.sh#19~26958~ 2006-01-27 05:54:06.000000000 -0800
+++ perl/hints/cygwin.sh 2007-02-05 07:35:56.000000000 -0800
@@ -31,7 +31,7 @@
# (with cygwin 1.5.7, cygipc is deprecated in favor of the builtin cygserver)
libswanted="$libswanted gdbm_compat"
test -z "$optimize" && optimize='-O2'
-ccflags="$ccflags -DPERL_USE_SAFE_PUTENV"
+ccflags="$ccflags -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__"
# - otherwise i686-cygwin
archname='cygwin'
End of Patch.