From 46258974d0527e299c82d36e31f9f160ee3e586f Mon Sep 17 00:00:00 2001 From: Vadim Troshchinskiy Date: Wed, 10 Mar 2021 00:25:20 +0100 Subject: nxcomp: Support Cygwin64. 64 bit Cygwin defines __CYGWIN__ instead of __CYGWIN32__ --- nxcomp/src/BlockCacheSet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nxcomp/src/BlockCacheSet.cpp') diff --git a/nxcomp/src/BlockCacheSet.cpp b/nxcomp/src/BlockCacheSet.cpp index 1dd6361dc..1f79b2dd0 100644 --- a/nxcomp/src/BlockCacheSet.cpp +++ b/nxcomp/src/BlockCacheSet.cpp @@ -51,13 +51,13 @@ BlockCacheSet::~BlockCacheSet() // failure happens in this destructor. // - #ifndef __CYGWIN32__ + #if !(defined(__CYGWIN__) || defined(__CYGWIN32__)) for (unsigned int i = 0; i < size_; i++) delete caches_[i]; delete[]caches_; - #endif /* ifdef __CYGWIN32__ */ + #endif /* if defined(__CYGWIN__) || defined(__CYGWIN32__) */ } -- cgit v1.2.3