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/Children.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nxcomp/src/Children.cpp') diff --git a/nxcomp/src/Children.cpp b/nxcomp/src/Children.cpp index 2e89f2e68..4c74e662b 100644 --- a/nxcomp/src/Children.cpp +++ b/nxcomp/src/Children.cpp @@ -295,7 +295,7 @@ int NXTransDialog(const char *caption, const char *message, strcat(newPath, "/Applications/NX Client for OSX.app/Contents/MacOS:"); #endif - #ifdef __CYGWIN32__ + #if defined(__CYGWIN__) || defined(__CYGWIN32__) // FIXME: missing length limitation! strcat(newPath, ".:"); #endif @@ -505,7 +505,7 @@ int NXTransClient(const char* display) #endif - #ifdef __CYGWIN32__ + #if defined(__CYGWIN__) || defined(__CYGWIN32__) strcat(newPath, ".:"); -- cgit v1.2.3