]> granicus.if.org Git - php/commit
Fix for bug #51847
authorRasmus Lerdorf <rasmus@php.net>
Wed, 2 Jun 2010 05:53:13 +0000 (05:53 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Wed, 2 Jun 2010 05:53:13 +0000 (05:53 +0000)
commitd4cca6da93d23cadb7762dcd8590061debf8fb7a
tree8ac4fac9283ed53b3fc1995678a8956a6d66c85f
parentd7b1fa9d35c745e9bb3fd045334999e47ae9a3a4
Fix for bug #51847
Someone in libintl world decided it was a good idea to do:

#undef setlocale
#define setlocale libintl_setlocale

That means, of course, that any use of "setlocale" by the
preprocessor now becomes libintl_setlocale which means we
no longer have a _zif_setlocale symbol in string.o, but we
magically have a _zif_libintl_setlocale symbol.  The linker
is obviously not very happy about this when basic_functions.o
tries to find _zif_setlocale.

So, let's not do that again.
ext/standard/string.c