]> 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)
commit83e13b2f2b2b0c0c336298f402c28fe6bd7aeca8
tree71107f088ab4da4781c7688074d74c208e4e6602
parentc554397e1a5a2a347cf339e119933cce0229425b
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