summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/Config.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/Config.h')
-rw-r--r--cpp/include/Ice/Config.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/cpp/include/Ice/Config.h b/cpp/include/Ice/Config.h
index 6f73221b81c..a1211c23f8f 100644
--- a/cpp/include/Ice/Config.h
+++ b/cpp/include/Ice/Config.h
@@ -73,7 +73,6 @@ typedef double Double;
// TODO: Should not be inline, this is not performance critical.
inline int getSystemErrno() { return GetLastError(); }
inline int getSocketErrno() { return WSAGetLastError(); }
-inline int getDNSErrno() { return WSAGetLastError(); }
#elif (defined(__linux__) || defined(__FreeBSD__)) && defined(i386) || defined (__sun)
@@ -104,8 +103,6 @@ typedef double Double;
// TODO: Should not be inline, this is not performance critical.
inline int getSystemErrno() { return errno; }
inline int getSocketErrno() { return errno; }
-extern int h_errno;
-inline int getDNSErrno() { return h_errno; }
#else