summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2000-02-23 04:20:53 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2000-02-23 04:20:53 +0000
commit4d62fa81928d806987564836aaec17a24613c3e6 (patch)
treef874673d7c191ce52bd70ed31708c8d7842ef6ba /m4
parent021de1a45b6d33f3a5ab46b6e7661d1e6d54cfdf (diff)
downloadATCD-4d62fa81928d806987564836aaec17a24613c3e6.tar.gz
ChangeLogTag:Tue Feb 22 20:09:14 2000 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'm4')
-rw-r--r--m4/platform.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/m4/platform.m4 b/m4/platform.m4
index ae2b765282f..0f0c989c5f8 100644
--- a/m4/platform.m4
+++ b/m4/platform.m4
@@ -297,6 +297,23 @@ dnl AC_DEFINE(ACE_USE_SELECT_REACTOR_FOR_REACTOR_IMPL)
ace_u_long_long_typedef_set=yes
fi dnl "$ace_u_long_long_typedef_set" != yes
;;
+ *qnx* | *nto* | *neutrino*)
+ dnl These should be defined on the command line, not in config.h.
+ CPPFLAGS="$CPPFLAGS -D_QNX_SOURCE -D_POSIX_C_SOURCE=199506"
+ CPPFLAGS="$CPPFLAGS -D_POSIX_NAME_MAX=14" dnl Max bytes in a filename
+ CPPFLAGS="$CPPFLAGS -D_POSIX_PATH_MAX=256" dnl Num. bytes in
+ dnl pathname (excl. NULL)
+ case $target in
+ i[3456]86*)
+ if test -n "$GXX"; then
+ dnl Neutrino defines memcpy as a macro on x86, which then
+ dnl hoses the ACE_OS::memcpy() method. Undefining
+ dnl __OPTIMIZE__ prevents this from happening.
+ CPPFLAGS="$CPPFLAGS -U__OPTIMIZE__"
+ fi
+ ;;
+ esac
+ ;;
*)
;;
esac