diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2000-02-23 04:20:53 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2000-02-23 04:20:53 +0000 |
commit | 4b98c07fb3657eb310b7262639b57d792b2ed0b5 (patch) | |
tree | f874673d7c191ce52bd70ed31708c8d7842ef6ba /m4/platform.m4 | |
parent | f53b001f8c3cd9095819cc88824940f7e174684f (diff) | |
download | ATCD-4b98c07fb3657eb310b7262639b57d792b2ed0b5.tar.gz |
ChangeLogTag:Tue Feb 22 20:09:14 2000 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'm4/platform.m4')
-rw-r--r-- | m4/platform.m4 | 17 |
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 |