aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/src/Children.cpp
diff options
context:
space:
mode:
authorVadim Troshchinskiy <vtroshchinskiy@qindel.com>2021-03-10 00:25:20 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-06-08 08:10:45 +0200
commit46258974d0527e299c82d36e31f9f160ee3e586f (patch)
tree8f0e53d5d213f2c584e9dcce4c3ec0e1fa236141 /nxcomp/src/Children.cpp
parent9815f32d5c7c397c5a27a53764565beda2d007c2 (diff)
downloadnx-libs-46258974d0527e299c82d36e31f9f160ee3e586f.tar.gz
nx-libs-46258974d0527e299c82d36e31f9f160ee3e586f.tar.bz2
nx-libs-46258974d0527e299c82d36e31f9f160ee3e586f.zip
nxcomp: Support Cygwin64.
64 bit Cygwin defines __CYGWIN__ instead of __CYGWIN32__
Diffstat (limited to 'nxcomp/src/Children.cpp')
-rw-r--r--nxcomp/src/Children.cpp4
1 files changed, 2 insertions, 2 deletions
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, ".:");