summaryrefslogtreecommitdiff
path: root/ACE/ace/config-pharlap.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/config-pharlap.h')
-rw-r--r--ACE/ace/config-pharlap.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ACE/ace/config-pharlap.h b/ACE/ace/config-pharlap.h
index 2b019bcadef..e955578fb49 100644
--- a/ACE/ace/config-pharlap.h
+++ b/ACE/ace/config-pharlap.h
@@ -69,5 +69,12 @@
#define ACE_LACKS_IP_ADD_MEMBERSHIP
#endif /* ACE_HAS_PHARLAP_RT */
+// Although IN_CLASSD is defined in both winsock.h and winsock2.h, it ends
+// up undefined for Pharlap ETS builds. If this is the case, set things up
+// so nothing looks like class D.
+#if !defined (IN_CLASSD)
+# define IN_CLASSD(i) (0)
+#endif
+
#include /**/ "ace/post.h"
#endif /* ACE_CONFIG_PHARLAP_H */