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/ChannelEndPoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nxcomp/src/ChannelEndPoint.cpp') diff --git a/nxcomp/src/ChannelEndPoint.cpp b/nxcomp/src/ChannelEndPoint.cpp index 635dd1ac7..7d088bdde 100644 --- a/nxcomp/src/ChannelEndPoint.cpp +++ b/nxcomp/src/ChannelEndPoint.cpp @@ -253,7 +253,7 @@ getComputerName() { const char *hostname = NULL; - #ifdef __CYGWIN32__ + #if defined(__CYGWIN__) || defined(__CYGWIN32__) hostname = getenv("COMPUTERNAME"); -- cgit v1.2.3