summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-11-03 04:55:37 +0000
committerdhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-11-03 04:55:37 +0000
commitb14a9dc5511deda3c25b22fc1b9815331ee4a0eb (patch)
tree6f19ceee5542db4e1c8d6ae654e9a3750bbd4fab
parent0dd9fdfd52c9e3fe8eaf968a3d6853bfbaca8f51 (diff)
downloadATCD-b14a9dc5511deda3c25b22fc1b9815331ee4a0eb.tar.gz
ChangeLogTag:Mon Nov 3 05:02:24 UTC 2003 Don Hinton <dhinton@dresystems.com>
-rw-r--r--ChangeLog8
-rw-r--r--ace/OS_NS_netdb.cpp2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 52f3f3c627b..228d06fd1aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Mon Nov 3 05:02:24 UTC 2003 Don Hinton <dhinton@dresystems.com>
+
+ * ace/OS_NS_netdb.cpp:
+ Added missing #ifdef ACE_MT_SAFE around
+ ACE_OS::netdb_{acquire|release} method implementations. This
+ fixes single threaded build errors on platforms that define
+ ACE_LACKS_NETDB_REENTRANT_FUNCTIONS.
+
Mon Nov 3 04:43:43 UTC 2003 Don Hinton <dhinton@dresystems.com>
* Makefile:
diff --git a/ace/OS_NS_netdb.cpp b/ace/OS_NS_netdb.cpp
index a66b262a7d2..290ae6325e3 100644
--- a/ace/OS_NS_netdb.cpp
+++ b/ace/OS_NS_netdb.cpp
@@ -340,7 +340,7 @@ ACE_OS::getmacaddress (struct macaddr_node_t *node)
#endif
}
-# if defined (ACE_LACKS_NETDB_REENTRANT_FUNCTIONS)
+# if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0) && defined (ACE_LACKS_NETDB_REENTRANT_FUNCTIONS)
# include "ace/OS_NS_Thread.h"
# include "ace/Object_Manager_Base.h"
int