projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5c6c69
)
Storable: Restore 5.8.2 compatibility
author
Father Chrysostomos
<sprout@cpan.org>
Mon, 11 Jul 2011 20:21:28 +0000
(13:21 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Mon, 11 Jul 2011 20:21:28 +0000
(13:21 -0700)
dist/Storable/Storable.xs
patch
|
blob
|
history
diff --git
a/dist/Storable/Storable.xs
b/dist/Storable/Storable.xs
index
fb25a78
..
5ad1556
100644
(file)
--- a/
dist/Storable/Storable.xs
+++ b/
dist/Storable/Storable.xs
@@
-90,6
+90,11
@@
typedef double NV; /* Older perls lack the NV type */
#endif
#endif
+/* perl <= 5.8.2 needs this */
+#ifndef SvIsCOW
+# define SvIsCOW(sv) 0
+#endif
+
#ifndef SvRV_set
#define SvRV_set(sv, val) \
STMT_START { \