summaryrefslogtreecommitdiff
path: root/time64.h
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2016-06-21 14:23:16 +1000
committerTony Cook <tony@develop-help.com>2016-06-21 14:23:16 +1000
commit143048c08af5307d9b4ff95c3322a6c67cff93cd (patch)
tree53d413447f6b5f2b7538d01357c4330cc9218304 /time64.h
parentc338e234d57f13141c5e04b6361ed8cc9e14b42a (diff)
downloadperl-143048c08af5307d9b4ff95c3322a6c67cff93cd.tar.gz
(perl #128359) prevent a const-ness warning on Cygwin
Diffstat (limited to 'time64.h')
-rw-r--r--time64.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/time64.h b/time64.h
index 6f60bce833..78efc73489 100644
--- a/time64.h
+++ b/time64.h
@@ -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;