Lines 1-13
Link Here
|
1 |
--- bindings/perl/Prelude.c.orig Tue Jun 6 10:46:03 2006 |
1 |
--- bindings/perl/Prelude.c.orig Sat Dec 16 10:04:05 2006 |
2 |
+++ bindings/perl/Prelude.c Tue Jun 6 10:46:46 2006 |
2 |
+++ bindings/perl/Prelude.c Thu Dec 21 11:02:42 2006 |
3 |
@@ -14,6 +14,10 @@ |
3 |
@@ -15,6 +15,11 @@ |
4 |
* declarations/attributes, and other compiler dependent labels. |
4 |
* declarations/attributes, and other compiler dependent labels. |
5 |
* |
5 |
* ----------------------------------------------------------------------------- */ |
6 |
************************************************************************/ |
6 |
|
7 |
+/* workaround to build with perl-5.005 */ |
7 |
+/* workaround to build with perl-5.005 */ |
8 |
+#ifndef INT2PTR |
8 |
+#ifndef INT2PTR |
9 |
+# define INT2PTR(type, pointer) (type)(pointer) |
9 |
+# define INT2PTR(type, pointer) (type)(pointer) |
10 |
+#endif |
10 |
+#endif |
11 |
|
11 |
+ |
12 |
/* template workaround for compilers that cannot correctly implement the C++ standard */ |
12 |
/* template workaround for compilers that cannot correctly implement the C++ standard */ |
13 |
#ifndef SWIGTEMPLATEDISAMBIGUATOR |
13 |
#ifndef SWIGTEMPLATEDISAMBIGUATOR |
|
|
14 |
# if defined(__SUNPRO_CC) |