summaryrefslogtreecommitdiff
path: root/ext/Storable
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2004-07-15 14:16:07 +0000
committerH.Merijn Brand <h.m.brand@xs4all.nl>2004-07-15 14:16:07 +0000
commit96466a21cd037417fedfaff143bfd5f0e48e0d75 (patch)
treebb947c2ba23ebb369708ee6eb1f872493e85b97a /ext/Storable
parentcee7ab8446e54171b9b94826ab5be2a5e24717d1 (diff)
downloadperl-96466a21cd037417fedfaff143bfd5f0e48e0d75.tar.gz
Trailing semi-colon are not allowed on #ifdef's in ANSI
p4raw-id: //depot/perl@23117
Diffstat (limited to 'ext/Storable')
-rw-r--r--ext/Storable/Storable.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Storable/Storable.xs b/ext/Storable/Storable.xs
index 851443b1fc..3c65c4ae60 100644
--- a/ext/Storable/Storable.xs
+++ b/ext/Storable/Storable.xs
@@ -1843,7 +1843,7 @@ static int store_ref(pTHX_ stcxt_t *cxt, SV *sv)
* Follow reference, and check if target is overloaded.
*/
-#ifdef SvWEAKREF;
+#ifdef SvWEAKREF
if (SvWEAKREF(sv))
is_weak = 1;
TRACEME(("ref (0x%"UVxf") is%s weak", PTR2UV(sv), is_weak ? "" : "n't"));