summaryrefslogtreecommitdiff
path: root/ace/config-vxworks5.x.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-23 22:16:45 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-23 22:16:45 +0000
commit4a295929b37c6a244f1b82cdba699c95858e054c (patch)
tree75aadc93a5e867b78b23a34b73d9ecdf18ad25c6 /ace/config-vxworks5.x.h
parent22679d20fb027c7a73f952a520767e0ff56960d5 (diff)
downloadATCD-4a295929b37c6a244f1b82cdba699c95858e054c.tar.gz
protected #define of ACE_MAIN so that it can be #defined on the command line
Diffstat (limited to 'ace/config-vxworks5.x.h')
-rw-r--r--ace/config-vxworks5.x.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ace/config-vxworks5.x.h b/ace/config-vxworks5.x.h
index 6f8782d8b75..ba5a3abf3fb 100644
--- a/ace/config-vxworks5.x.h
+++ b/ace/config-vxworks5.x.h
@@ -21,7 +21,9 @@
# define ACE_HAS_VERBOSE_NOTSUP
# define ACE_LACKS_IOSTREAM_FX
-# define ACE_MAIN ace_main
+# if !defined (ACE_MAIN)
+# define ACE_MAIN ace_main
+# endif /* ! ACE_MAIN */
// Even though the documentation suggests that g++/VxWorks 5.3.1
// (Tornado 1.0.1) supports long long, Wind River tech support says