summaryrefslogtreecommitdiff
path: root/gv.h
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2006-02-13 16:03:23 +0000
committerSteve Hay <SteveHay@planit.com>2006-02-13 16:03:23 +0000
commit1b94edb6b76d8ada85d9ab149002ee69a7ddf8b8 (patch)
tree37d971379b07115b7522ffbb4203df5f27b6abb4 /gv.h
parent3ae345e35a0fa71a6a704dcc7c7f9ff029895bcd (diff)
downloadperl-1b94edb6b76d8ada85d9ab149002ee69a7ddf8b8.tar.gz
Revert an assert() fix in the light of change #27152
The MinGW problem described here: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-01/msg00146.html was fixed by change #26664. This is no longer relevant in the light of change #27152, so revert it. (The other problems with VC++ 6 and BCC, fixed by change #26634, have not gone away, however.) p4raw-link: @27152 on //depot/perl: b0e6ae5b51a7c163ac7cdb0d18b54bb1819f6c13 p4raw-link: @26664 on //depot/perl: fb9e8e97420770e8f89d9f2196e1b7b0c855e8bb p4raw-link: @26634 on //depot/perl: 834268b87a8eb670d899a13106c8dfcdfc7c9b66 p4raw-id: //depot/perl@27171
Diffstat (limited to 'gv.h')
-rw-r--r--gv.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gv.h b/gv.h
index 29d1bfcb2c..250c7b92d5 100644
--- a/gv.h
+++ b/gv.h
@@ -26,11 +26,9 @@ struct gp {
/* MSVC++ 6.0 (_MSC_VER == 1200) can't compile pp_hot.c with DEBUGGING enabled
* if we include the following assert(). Must be a compiler bug because it
- * works fine with MSVC++ 7.0. Borland (5.5.1) has the same problem. And MinGW
- * (gcc-3.4.2) has a different problem when compiling win32/perllib.c! */
+ * works fine with MSVC++ 7.0. Borland (5.5.1) has the same problem. */
#if defined(DEBUGGING) && \
- ((!defined(_MSC_VER) || _MSC_VER > 1200) && \
- !defined(__BORLANDC__) && !defined(__MINGW32__))
+ ((!defined(_MSC_VER) || _MSC_VER > 1200) && !defined(__BORLANDC__))
# define GvGP(gv) (*(assert(SvTYPE(gv) == SVt_PVGV || \
SvTYPE(gv) == SVt_PVLV), \
&(GvXPVGV(gv)->xgv_gp)))