Chromium Code Reviews| Index: source/common/putilimp.h |
| =================================================================== |
| --- source/common/putilimp.h (revision 267150) |
| +++ source/common/putilimp.h (working copy) |
| @@ -116,9 +116,14 @@ |
| #elif U_PLATFORM == U_PF_ANDROID |
| # define U_TIMEZONE timezone |
| #elif U_PLATFORM_IS_LINUX_BASED |
| + /* uClibc does not have __timezone nor _timezone. */ |
|
Mark Mentovai
2014/04/30 14:06:27
or, not nor.
|
| + /* gLibc has __timezone while newlib has _timezone. */ |
| # if !defined(__UCLIBC__) |
| - /* __timezone is only available in glibc */ |
| -# define U_TIMEZONE __timezone |
| +# if defined(__GLIBC__) |
| +# define U_TIMEZONE __timezone |
| +# else |
|
Mark Mentovai
2014/04/30 14:06:27
https://codereview.chromium.org/162913002/ uses _N
|
| +# define U_TIMEZONE _timezone |
| +# endif |
| # endif |
| #elif U_PLATFORM_USES_ONLY_WIN32_API |
| # define U_TIMEZONE _timezone |