diff options
author | Jose <jose@zeroc.com> | 2019-02-07 18:43:12 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-02-07 21:02:19 +0100 |
commit | 065e5f80067bf8ab72077039d5414d9383565a01 (patch) | |
tree | 1c6f0217cf1a9ea62ec8e31a51317de8e6bfc642 /cpp/src/Ice/Instance.cpp | |
parent | Amazon Linux is now amzn2 (diff) | |
download | ice-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.cpp | 2 |
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 |