diff options
author | Vadim Troshchinskiy <vtroshchinskiy@qindel.com> | 2021-03-10 00:25:20 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-08 08:10:45 +0200 |
commit | 46258974d0527e299c82d36e31f9f160ee3e586f (patch) | |
tree | 8f0e53d5d213f2c584e9dcce4c3ec0e1fa236141 /nxcomp/src/Auth.cpp | |
parent | 9815f32d5c7c397c5a27a53764565beda2d007c2 (diff) | |
download | nx-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/Auth.cpp')
-rw-r--r-- | nxcomp/src/Auth.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nxcomp/src/Auth.cpp b/nxcomp/src/Auth.cpp index 87955f6ab..aaca905de 100644 --- a/nxcomp/src/Auth.cpp +++ b/nxcomp/src/Auth.cpp @@ -238,7 +238,7 @@ int Auth::getCookie() char command[DEFAULT_STRING_LIMIT]; - #if defined(__CYGWIN32__) + #if defined(__CYGWIN__) || defined(__CYGWIN32__) snprintf(command, DEFAULT_STRING_LIMIT, "%s/bin/nxauth", control -> SystemPath); |