summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2004-03-17 19:26:16 +0000
committerSteve Huston <shuston@riverace.com>2004-03-17 19:26:16 +0000
commitafa772d8e1db205245a0bd21c9d4e8687e982512 (patch)
tree9c4a6631f19fc4b53d6d0bd391ca4507bf7689fe
parent5612ea6e3f5a8c5b819f6d1e42c53721c31d699b (diff)
downloadATCD-afa772d8e1db205245a0bd21c9d4e8687e982512.tar.gz
ChangeLogTag:Wed Mar 17 14:20:31 2004 Steve Huston <shuston@riverace.com>
-rw-r--r--ace/config-aix5.1.h9
-rw-r--r--examples/APG/Proactor/HA_Proactive_Status.cpp1
2 files changed, 7 insertions, 3 deletions
diff --git a/ace/config-aix5.1.h b/ace/config-aix5.1.h
index 9bcf88e683f..192f381737c 100644
--- a/ace/config-aix5.1.h
+++ b/ace/config-aix5.1.h
@@ -21,11 +21,14 @@
// set it. Then check for 0 after including config-aix-4.x.h and remove it
// if so.
#if !defined (ACE_HAS_AIO_CALLS)
-# define ACE_HAS_AIO_CALLS 0
+# define _ACE_DISABLE_AIO_CALLS_
#endif
#include "ace/config-aix-4.x.h"
-#if defined (ACE_HAS_AIO_CALLS) && (ACE_HAS_AIO_CALLS == 0)
-# undef ACE_HAS_AIO_CALLS
+#if defined (_ACE_DISABLE_AIO_CALLS_)
+# if defined (ACE_HAS_AIO_CALLS)
+# undef ACE_HAS_AIO_CALLS
+# endif
+# undef _ACE_DISABLE_AIO_CALLS_
#endif
// I think this is correct, but needs to be verified... -Steve Huston
diff --git a/examples/APG/Proactor/HA_Proactive_Status.cpp b/examples/APG/Proactor/HA_Proactive_Status.cpp
index ce354f0947e..2fad562f12c 100644
--- a/examples/APG/Proactor/HA_Proactive_Status.cpp
+++ b/examples/APG/Proactor/HA_Proactive_Status.cpp
@@ -7,6 +7,7 @@
#include "HA_Proactive_Status.h"
#include "ace/Log_Msg.h"
+#include "ace/Message_Block.h"
#include "ace/Proactor.h"
#include "ace/os_include/arpa/os_inet.h"