]> granicus.if.org Git - php/commitdiff
Revert the automatic namespace addition
authorAnatol Belski <ab@php.net>
Fri, 30 Mar 2018 04:44:25 +0000 (06:44 +0200)
committerAnatol Belski <ab@php.net>
Sat, 31 Mar 2018 16:51:56 +0000 (18:51 +0200)
acinclude.m4
ext/intl/config.w32

index 4f1328c9ba571a61a95b751271ef2a4fbac8d4ed..4e5f0552723f779bb1fac7f1e8706103a73c34bc 100644 (file)
@@ -2239,7 +2239,6 @@ AC_DEFUN([PHP_SETUP_ICU],[
     PHP_EVAL_LIBLINE($ICU_LIBS, $1)
 
     ICU_EXTRA_FLAGS=`$ICU_CONFIG --cxxflags`
-    ICU_EXTRA_FLAGS="$ICU_EXTRA_FLAGS -DU_USING_ICU_NAMESPACE=1"
   fi
 ])
 
index 11a16533d81a92d050cf4da37ffd6731e3b6f20d..2aa408fac08141960a66a52bfffc3bb0d9f48da3 100644 (file)
@@ -129,7 +129,7 @@ if (PHP_INTL != "no") {
                        ADD_FLAG("LIBS_INTL", "iculx.lib");
                }
 
-               ADD_FLAG("CFLAGS_INTL", "/EHsc /D U_USING_ICU_NAMESPACE=1");
+               ADD_FLAG("CFLAGS_INTL", "/EHsc");
                AC_DEFINE("HAVE_INTL", 1, "Internationalization support enabled");
        } else {
                WARNING("intl not enabled; libraries and/or headers not found");