Ticket #35452: putil.cpp.diff
File putil.cpp.diff, 920 bytes (added by ccarey@…, 12 years ago) |
---|
-
libs/icu/icu-49.1/common/putil.cpp
old new 114 114 #endif 115 115 116 116 /* 117 * Cygwin with GCC requires inclusion of time.h after the above disabling strict ascimode statement.117 * Cygwin with GCC requires inclusion of time.h after the above disabling strict ANSI mode statement. 118 118 */ 119 119 #include <time.h> 120 120 … … 123 123 #endif 124 124 125 125 /* 126 * 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. 127 */ 128 #if defined(U_TZNAME) && U_PLATFORM_IS_DARWIN_BASED && (defined(_ANSI_SOURCE) || defined(_POSIX_C_SOURCE)) 129 U_CFUNC struct tm *localtime_r(const time_t *, struct tm *); 130 #endif 131 132 /* 126 133 * Only include langinfo.h if we have a way to get the codeset. If we later 127 134 * depend on more feature, we can test on U_HAVE_NL_LANGINFO. 128 135 *