diff options
author | Karl Williamson <khw@cpan.org> | 2018-01-18 16:20:02 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-01-30 22:58:15 -0700 |
commit | e1aa2579a2006b68a3715befb8faa75a98bfb6cd (patch) | |
tree | 8ce4db59e7b1356da037b89da559bc88039186ec /embedvar.h | |
parent | dd2dbc5faf48a2985eee15f6f61fd81baec39198 (diff) | |
download | perl-e1aa2579a2006b68a3715befb8faa75a98bfb6cd.tar.gz |
Avoid changing locale when finding radix char
On systems that have the POSIX 2008 operations, including
nl_langinfo_l(), this commit causes them to not have to actually change
the locale when determining what the decimal point character is.
The locale may have to change during the printing/reading of numbers,
but eventually we can use sprintf_l(), if available, to avoid that too.
Diffstat (limited to 'embedvar.h')
-rw-r--r-- | embedvar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embedvar.h b/embedvar.h index 5f34a5df49..fe33c86ccc 100644 --- a/embedvar.h +++ b/embedvar.h @@ -338,6 +338,7 @@ #define PL_tmps_stack (vTHX->Itmps_stack) #define PL_top_env (vTHX->Itop_env) #define PL_toptarget (vTHX->Itoptarget) +#define PL_underlying_numeric_obj (vTHX->Iunderlying_numeric_obj) #define PL_unicode (vTHX->Iunicode) #define PL_unitcheckav (vTHX->Iunitcheckav) #define PL_unitcheckav_save (vTHX->Iunitcheckav_save) |