diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2010-09-24 14:49:22 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2010-09-24 14:49:22 +0000 |
commit | 384c4ba604198745c53e8d50905e9eb512680688 (patch) | |
tree | f0edebf214c70c033d5b1c3180d84ab385e6eeef /gnu/usr.bin/perl/time64.h | |
parent | 691a6262a648f61c64c42c906d89d10a89e3848b (diff) |
Perl 5.12.2 from CPAN
Diffstat (limited to 'gnu/usr.bin/perl/time64.h')
-rw-r--r-- | gnu/usr.bin/perl/time64.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/gnu/usr.bin/perl/time64.h b/gnu/usr.bin/perl/time64.h index b7306d01fb4..07bb33fd849 100644 --- a/gnu/usr.bin/perl/time64.h +++ b/gnu/usr.bin/perl/time64.h @@ -28,14 +28,11 @@ struct TM64 { #endif #ifdef HAS_TM_TM_ZONE -/* If glibc is defined or we are on QNX, use const. - * Otherwise, if we are on android, use const but - * not with g++. - */ -# if defined(__GLIBC__) || (defined(__ANDROID__) && !defined(__cplusplus)) || defined(__QNX__) - const -# endif +# ifdef __GLIBC__ + const char *tm_zone; +# else char *tm_zone; +# endif #endif }; |