summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/Config.h
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-01-15 10:17:10 +0100
committerJose <jose@zeroc.com>2016-01-15 10:17:10 +0100
commit4354438d569d8255232e3ee2e7e7fd302a63ec7c (patch)
treeadf096d6251006517e103d1692c1656e71a7f57c /cpp/include/Ice/Config.h
parentMerge remote-tracking branch 'origin/3.6' (diff)
downloadice-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.h7
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();
}