diff options
author | David Leadbeater <dgl@dgl.cx> | 2011-03-07 18:56:50 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-03-28 10:21:47 +0100 |
commit | 6129b56cf004af6d08fe0f9ce665d072c9695c6d (patch) | |
tree | 88e5602eb8a14a65952d51cd0fea5db1ef9a6c77 /mathoms.c | |
parent | 1e54a0f5eb12878354428964c5ccbc59e81ed88b (diff) | |
download | perl-6129b56cf004af6d08fe0f9ce665d072c9695c6d.tar.gz |
Protect sv_collxfrm in mathoms.c with a USE_LOCALE_COLLATE ifdef
It calls sv_collxfrm_flags which is only defined if USE_LOCALE_COLLATE
is set.
Diffstat (limited to 'mathoms.c')
-rw-r--r-- | mathoms.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1120,11 +1120,13 @@ Perl_sv_eq(pTHX_ register SV *sv1, register SV *sv2) return sv_eq_flags(sv1, sv2, SV_GMAGIC); } +#ifdef USE_LOCALE_COLLATE char * Perl_sv_collxfrm(pTHX_ SV *const sv, STRLEN *const nxp) { return sv_collxfrm_flags(sv, nxp, SV_GMAGIC); } +#endif bool Perl_sv_2bool(pTHX_ register SV *const sv) |