From c0daf14cb3d5fb3f9aa2cc79231399ed6773455d Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Thu, 14 Dec 2000 15:58:14 +0000 Subject: [PATCH] Don't define LC_MESSAGES, if LC_MESSAGES is not defined. PR: #8259 --- ext/standard/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/string.c b/ext/standard/string.c index 4bdc04ac51..f32c901a8e 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -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 -- 2.50.1