source: trunk/dports/lang/php4/files/patch-ext-standard-string.c.diff @ 68369

Last change on this file since 68369 was 68369, checked in by ryandesign@…, 10 years ago

php4: fix build failure with gettext 0.18; see #24934

File size: 371 bytes
  • (a) a/ext/standard/string.c.orig vs. (b) b/ext/standard/string.c

    a b  
    3939#endif
    4040#ifdef HAVE_LIBINTL
    4141# include <libintl.h> /* for LC_MESSAGES */
     42 #ifdef setlocale
     43 # undef setlocale /* Uh, libintl, don't F* our symbols please */
     44 #endif
    4245#endif
    4346#include "scanf.h"
    4447#include "zend_API.h"
Note: See TracBrowser for help on using the repository browser.