mirror of
https://github.com/Perl/perl5.git
synced 2026-01-27 01:44:43 +00:00
perl_langinfo.h: #include <langinfo.h> if available
Prior to this commit, it also needed to have nl_langinfo() available. On POSIX systems you'll have both, so the extra condition doesn't buy anything, and the next commit will allow for a non-standard test environment where that extra condition gets in the way.
This commit is contained in:
parent
ab1f5e3581
commit
73febbcd86
@ -6,7 +6,7 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#if defined(HAS_NL_LANGINFO) && defined(I_LANGINFO)
|
||||
#if defined(I_LANGINFO)
|
||||
# include <langinfo.h>
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user