aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/src/ChannelEndPoint.cpp
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-06-08 08:17:37 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-06-08 08:17:37 +0200
commit00711f914d4b0ca76ca66c0225f257d6192807e2 (patch)
treeeb058b5ebd1d644528831ec37648bfba31070cfb /nxcomp/src/ChannelEndPoint.cpp
parent9815f32d5c7c397c5a27a53764565beda2d007c2 (diff)
parentff0c2b1484e6e8a9f47d4ba78bbff54bf734c2f1 (diff)
downloadnx-libs-00711f914d4b0ca76ca66c0225f257d6192807e2.tar.gz
nx-libs-00711f914d4b0ca76ca66c0225f257d6192807e2.tar.bz2
nx-libs-00711f914d4b0ca76ca66c0225f257d6192807e2.zip
Merge branch 'vatral-support_cygwin64' into 3.6.x
Attributes GH PR #1008: https://github.com/ArcticaProject/nx-libs/pull/1008
Diffstat (limited to 'nxcomp/src/ChannelEndPoint.cpp')
-rw-r--r--nxcomp/src/ChannelEndPoint.cpp2
1 files changed, 1 insertions, 1 deletions
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");