diff options
author | Tony Cook <tony@develop-help.com> | 2016-06-21 14:23:16 +1000 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2016-06-21 14:23:16 +1000 |
commit | 143048c08af5307d9b4ff95c3322a6c67cff93cd (patch) | |
tree | 53d413447f6b5f2b7538d01357c4330cc9218304 /time64.h | |
parent | c338e234d57f13141c5e04b6361ed8cc9e14b42a (diff) | |
download | perl-143048c08af5307d9b4ff95c3322a6c67cff93cd.tar.gz |
(perl #128359) prevent a const-ness warning on Cygwin
Diffstat (limited to 'time64.h')
-rw-r--r-- | time64.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -32,7 +32,8 @@ struct TM64 { * Otherwise, if we are on android, use const but * not with g++. */ -# if defined(__GLIBC__) || (defined(__ANDROID__) && !defined(__cplusplus)) || defined(__QNX__) +# if defined(__GLIBC__) || (defined(__ANDROID__) && !defined(__cplusplus)) \ + || defined(__QNX__) || defined(__CYGWIN__) const # endif char *tm_zone; |