summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/Config.h
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-02-12 04:59:12 +0000
committerMarc Laukien <marc@zeroc.com>2002-02-12 04:59:12 +0000
commite764b6d2adc5a0ef75caf1f6f406af86bd95aa1c (patch)
tree1136dc7e95fc1d36b509f50a9b87a1c04179a576 /cpp/include/Ice/Config.h
parentmade some inline ops non-inline; added comments and TODOs (diff)
downloadice-e764b6d2adc5a0ef75caf1f6f406af86bd95aa1c.tar.bz2
ice-e764b6d2adc5a0ef75caf1f6f406af86bd95aa1c.tar.xz
ice-e764b6d2adc5a0ef75caf1f6f406af86bd95aa1c.zip
made some inline ops non-inline; added comments and TODOs
Diffstat (limited to 'cpp/include/Ice/Config.h')
-rw-r--r--cpp/include/Ice/Config.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/cpp/include/Ice/Config.h b/cpp/include/Ice/Config.h
index 6ed6097cfe5..f92b4726dee 100644
--- a/cpp/include/Ice/Config.h
+++ b/cpp/include/Ice/Config.h
@@ -30,8 +30,13 @@
// using namespace Ice;
// using namespace IceInternal;
//
-namespace Ice { }
-namespace IceInternal { }
+namespace Ice
+{
+}
+
+namespace IceInternal
+{
+}
#if defined(WIN32)
@@ -55,6 +60,7 @@ 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(); }
@@ -78,6 +84,7 @@ 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;