summaryrefslogtreecommitdiff
path: root/intrpvar.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-07-18 13:35:33 +0200
committerNicholas Clark <nick@ccl4.org>2011-07-18 13:39:59 +0200
commitf8115845454eee301b4615a45e01bf1bc6b816d4 (patch)
treea7c32283cfe926bc1d0fb0513e525ce3d1ef56c5 /intrpvar.h
parent9168ed13c3995a6f331c932c952ea164026411f0 (diff)
downloadperl-f8115845454eee301b4615a45e01bf1bc6b816d4.tar.gz
In intrpvar.h, move all the USE_LOCALE_NUMERIC variables together.
a453c1697467fe60 added PL_numeric_radix_sv at the end of the interpreter struct to avoid breaking binary compatibility. However, as we now explicitly no longer guarantee compatibility across major releases, there's no reason not to move it next to the other variables related to it.
Diffstat (limited to 'intrpvar.h')
-rw-r--r--intrpvar.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/intrpvar.h b/intrpvar.h
index b2d4d5c222..4a6122faa1 100644
--- a/intrpvar.h
+++ b/intrpvar.h
@@ -565,6 +565,8 @@ PERLVARI(Inumeric_standard, bool, TRUE)
PERLVARI(Inumeric_local, bool, TRUE)
/* Assume local numerics */
PERLVAR(Inumeric_name, char *) /* Name of current numeric locale */
+PERLVAR(Inumeric_radix_sv, SV *) /* The radix separator if not '.' */
+
#endif /* !USE_LOCALE_NUMERIC */
/* utf8 character classes */
@@ -641,12 +643,6 @@ PERLVARI(Ibeginav_save, AV*, NULL) /* save BEGIN{}s when compiling */
PERLVAR(Ibody_arenas, void*) /* pointer to list of body-arenas */
-#ifdef USE_LOCALE_NUMERIC
-
-PERLVAR(Inumeric_radix_sv, SV *) /* The radix separator if not '.' */
-
-#endif
-
#if defined(USE_ITHREADS)
PERLVAR(Iregex_pad, SV**) /* Shortcut into the array of
regex_padav */