summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorStas Bekman <stas@stason.org>2003-03-06 23:03:39 +1100
committerJarkko Hietaniemi <jhi@iki.fi>2003-03-06 05:36:13 +0000
commit88fdc17263c0ecab1cbcf87b39127c6497fe4a5e (patch)
treea9f11fd3fe2439e893e1b4e39915bd6feab99281 /win32
parenta845a0d454e0f00755bd9ac955d4d658c0af2872 (diff)
downloadperl-88fdc17263c0ecab1cbcf87b39127c6497fe4a5e.tar.gz
[patch config_h.SH] redefining __attribute__
Message-ID: <3E669E6B.1060606@stason.org> p4raw-id: //depot/perl@18833
Diffstat (limited to 'win32')
-rw-r--r--win32/config_H.bc3
-rw-r--r--win32/config_H.gc3
-rw-r--r--win32/config_H.vc3
-rw-r--r--win32/config_H.vc643
4 files changed, 12 insertions, 0 deletions
diff --git a/win32/config_H.bc b/win32/config_H.bc
index 8bcd5fbf47..a4717983a0 100644
--- a/win32/config_H.bc
+++ b/win32/config_H.bc
@@ -38,6 +38,9 @@
*/
/*#define HASATTRIBUTE /**/
#ifndef HASATTRIBUTE
+#ifdef __attribute__
+#undef __attribute__
+#endif
#define __attribute__(_arg_)
#endif
diff --git a/win32/config_H.gc b/win32/config_H.gc
index c9ce6673ac..000ec707c5 100644
--- a/win32/config_H.gc
+++ b/win32/config_H.gc
@@ -38,6 +38,9 @@
*/
#define HASATTRIBUTE /**/
#ifndef HASATTRIBUTE
+#ifdef __attribute__
+#undef __attribute__
+#endif
#define __attribute__(_arg_)
#endif
diff --git a/win32/config_H.vc b/win32/config_H.vc
index c4ba4a51cc..5049fac685 100644
--- a/win32/config_H.vc
+++ b/win32/config_H.vc
@@ -38,6 +38,9 @@
*/
/*#define HASATTRIBUTE /**/
#ifndef HASATTRIBUTE
+#ifdef __attribute__
+#undef __attribute__
+#endif
#define __attribute__(_arg_)
#endif
diff --git a/win32/config_H.vc64 b/win32/config_H.vc64
index 5572c2613c..3bedfa74f3 100644
--- a/win32/config_H.vc64
+++ b/win32/config_H.vc64
@@ -38,6 +38,9 @@
*/
/*#define HASATTRIBUTE /**/
#ifndef HASATTRIBUTE
+#ifdef __attribute__
+#undef __attribute__
+#endif
#define __attribute__(_arg_)
#endif