summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-01-27 22:49:10 +0000
committerNicholas Clark <nick@ccl4.org>2007-01-27 22:49:10 +0000
commit170cd9e9443d868c3c6045f9fc39aee1f05647dd (patch)
treefca336f32113c9de61f9569dff9cd666be60f9fc /perl.h
parentff8997d7fa0815ca182064f36b72cbf89750ce04 (diff)
downloadperl-170cd9e9443d868c3c6045f9fc39aee1f05647dd.tar.gz
As we're not using UVf in the core, don't even define in when PERL_CORE
is true. p4raw-id: //depot/perl@30044
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/perl.h b/perl.h
index 5a8cad0e11..0d9ea74868 100644
--- a/perl.h
+++ b/perl.h
@@ -3081,10 +3081,14 @@ typedef pthread_key_t perl_key;
# define VDf "vd"
# endif
#endif
-
+
+#ifdef PERL_CORE
/* not used; but needed for backward compatibilty with XS code? - RMB */
-#ifndef UVf
-# define UVf UVuf
+# ifndef UVf
+# define UVf UVuf
+# endif
+#else
+# undef UVf
#endif
#ifdef HASATTRIBUTE_FORMAT