summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Instance.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2019-02-07 18:43:12 +0100
committerJose <jose@zeroc.com>2019-02-07 21:02:19 +0100
commit065e5f80067bf8ab72077039d5414d9383565a01 (patch)
tree1c6f0217cf1a9ea62ec8e31a51317de8e6bfc642 /cpp/src/Ice/Instance.cpp
parentAmazon Linux is now amzn2 (diff)
downloadice-065e5f80067bf8ab72077039d5414d9383565a01.tar.bz2
ice-065e5f80067bf8ab72077039d5414d9383565a01.tar.xz
ice-065e5f80067bf8ab72077039d5414d9383565a01.zip
Fix macros for Linux OS detection
Diffstat (limited to 'cpp/src/Ice/Instance.cpp')
-rw-r--r--cpp/src/Ice/Instance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp
index 4c3fa1f1e5c..8d448ee0ddb 100644
--- a/cpp/src/Ice/Instance.cpp
+++ b/cpp/src/Ice/Instance.cpp
@@ -61,7 +61,7 @@
# include <sys/types.h>
#endif
-#if defined(__linux) || defined(__sun) || defined(_AIX) || defined(__GLIBC__)
+#if defined(__linux__) || defined(__sun) || defined(_AIX) || defined(__GLIBC__)
# include <grp.h> // for initgroups
#endif