1
0
mirror of https://github.com/php/php-src.git synced 2026-04-13 02:52:48 +02:00

Don't define LC_MESSAGES, if LC_MESSAGES is not defined.

PR: #8259
This commit is contained in:
Sascha Schumann
2000-12-14 15:58:14 +00:00
parent 9b1b253548
commit c0daf14cb3

View File

@@ -60,7 +60,7 @@ void register_string_constants(INIT_FUNC_ARGS)
REGISTER_LONG_CONSTANT("LC_COLLATE", LC_COLLATE, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("LC_MONETARY", LC_MONETARY, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("LC_ALL", LC_ALL, CONST_CS | CONST_PERSISTENT);
# if !PHP_WIN32
# ifdef LC_MESSAGES
REGISTER_LONG_CONSTANT("LC_MESSAGES", LC_MESSAGES, CONST_CS | CONST_PERSISTENT);
# endif
#endif