source: trunk/dports/devel/icu/files/patch-common-putil.cpp.diff @ 135232

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

icu: update to 55.1

File size: 659 bytes
  • common/putil.cpp

    http://bugs.icu-project.org/trac/ticket/9367
    old new  
    117117#endif
    118118
    119119/*
     120 * Mac OS X 10.4 doesn't use its localtime_r() declaration in <time.h> if either _ANSI_SOURCE or _POSIX_C_SOURCE is #defined.
     121 */
     122#if defined(U_TZNAME) && U_PLATFORM_IS_DARWIN_BASED && (defined(_ANSI_SOURCE) || defined(_POSIX_C_SOURCE))
     123U_CFUNC struct tm *localtime_r(const time_t *, struct tm *);
     124#endif
     125
     126/*
    120127 * Only include langinfo.h if we have a way to get the codeset. If we later
    121128 * depend on more feature, we can test on U_HAVE_NL_LANGINFO.
    122129 *
Note: See TracBrowser for help on using the repository browser.