summaryrefslogtreecommitdiff
path: root/ACE/tests/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/Main.cpp')
-rw-r--r--ACE/tests/Main.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/ACE/tests/Main.cpp b/ACE/tests/Main.cpp
new file mode 100644
index 00000000000..241e8b54bec
--- /dev/null
+++ b/ACE/tests/Main.cpp
@@ -0,0 +1,27 @@
+
+//=============================================================================
+/**
+ * @file Main.cpp
+ *
+ * $Id$
+ *
+ * This is a wrapper for the test programs. It obviates the test cpp's
+ * from having to always include OS.h.
+ *
+ *
+ * @author Don Hinton <dhinton@dresystems.com>
+ */
+//=============================================================================
+
+
+#include "ace/OS_main.h"
+#if defined (ACE_HAS_WINCE)
+# include "ace/ACE.h"
+#endif /* ACE_HAS_WINCE */
+int run_main (int argc, ACE_TCHAR *argv[]);
+
+int
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
+{
+ return run_main (argc, argv);
+}