summaryrefslogtreecommitdiff
path: root/examples/Misc/test_XtReactor2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Misc/test_XtReactor2.cpp')
-rw-r--r--examples/Misc/test_XtReactor2.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/examples/Misc/test_XtReactor2.cpp b/examples/Misc/test_XtReactor2.cpp
index 601335f7b34..2e2f4be0ba2 100644
--- a/examples/Misc/test_XtReactor2.cpp
+++ b/examples/Misc/test_XtReactor2.cpp
@@ -14,7 +14,7 @@ ACE_RCSID (Misc,
test_XtReactor2,
"$Id$")
-#if defined (ACE_HAS_XT)
+
#include <Xm/PushB.h>
class Stdin : public ACE_Event_Handler
@@ -99,12 +99,3 @@ ACE_TMAIN (int argc, ACE_TCHAR**argv)
// Demonstrate Reactor/Xt event loop unification:
XtAppMainLoop (XtWidgetToApplicationContext (top_level));
}
-#else
-int
-ACE_TMAIN (int, ACE_TCHAR *[])
-{
- ACE_ERROR_RETURN ((LM_ERROR,
- "XT not configured for this platform\n"),
- 0);
-}
-#endif /* ACE_HAS_XT */