From 143048c08af5307d9b4ff95c3322a6c67cff93cd Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Tue, 21 Jun 2016 14:23:16 +1000 Subject: (perl #128359) prevent a const-ness warning on Cygwin --- time64.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'time64.h') 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; -- cgit v1.2.1