summaryrefslogtreecommitdiff
path: root/gv.h
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2006-01-05 17:24:44 +0000
committerSteve Hay <SteveHay@planit.com>2006-01-05 17:24:44 +0000
commitfb9e8e97420770e8f89d9f2196e1b7b0c855e8bb (patch)
tree2566d82e1b34717439b66c741628723e9814dde1 /gv.h
parent991e84034556ccb28cd5c2664de6293fc1949e10 (diff)
downloadperl-fb9e8e97420770e8f89d9f2196e1b7b0c855e8bb.tar.gz
Workaround another problem following change 26395
MinGW doesn't like 26395 either! (ref: change 26634) p4raw-id: //depot/perl@26664
Diffstat (limited to 'gv.h')
-rw-r--r--gv.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gv.h b/gv.h
index aab0b31fce..4b410e860b 100644
--- a/gv.h
+++ b/gv.h
@@ -26,9 +26,11 @@ 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. */
+ * 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! */
#if defined(DEBUGGING) && \
- ((!defined(_MSC_VER) || _MSC_VER > 1200) && !defined(__BORLANDC__))
+ ((!defined(_MSC_VER) || _MSC_VER > 1200) && \
+ !defined(__BORLANDC__) && !defined(__MINGW32__))
# define GvGP(gv) (*(assert(SvTYPE(gv) == SVt_PVGV || \
SvTYPE(gv) == SVt_PVLV), \
&(GvXPVGV(gv)->xgv_gp)))