diff options
author | Jose <jose@zeroc.com> | 2016-01-15 10:17:10 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2016-01-15 10:17:10 +0100 |
commit | 4354438d569d8255232e3ee2e7e7fd302a63ec7c (patch) | |
tree | adf096d6251006517e103d1692c1656e71a7f57c /cpp/include/Ice/Config.h | |
parent | Merge remote-tracking branch 'origin/3.6' (diff) | |
download | ice-4354438d569d8255232e3ee2e7e7fd302a63ec7c.tar.bz2 ice-4354438d569d8255232e3ee2e7e7fd302a63ec7c.tar.xz ice-4354438d569d8255232e3ee2e7e7fd302a63ec7c.zip |
ICE-6821 getSystemErrno should not be inlined
Diffstat (limited to 'cpp/include/Ice/Config.h')
-rw-r--r-- | cpp/include/Ice/Config.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/cpp/include/Ice/Config.h b/cpp/include/Ice/Config.h index df86c77b149..cf5a401118d 100644 --- a/cpp/include/Ice/Config.h +++ b/cpp/include/Ice/Config.h @@ -94,12 +94,7 @@ typedef double Double; namespace IceInternal { -// TODO: Should not be inline, this is not performance critical. -#ifdef _WIN32 -inline int getSystemErrno() { return GetLastError(); } -#else -inline int getSystemErrno() { return errno; } -#endif +ICE_API int getSystemErrno(); } |