diff options
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(); } |