diff options
Diffstat (limited to 'TAO/tao/orbconf.h')
-rw-r--r-- | TAO/tao/orbconf.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/TAO/tao/orbconf.h b/TAO/tao/orbconf.h index a8ab7fcec9c..5776b72bc4e 100644 --- a/TAO/tao/orbconf.h +++ b/TAO/tao/orbconf.h @@ -684,6 +684,17 @@ const size_t TAO_DEFAULT_VALUE_FACTORY_TABLE_SIZE = 128; # endif /* TAO_HAS_MINIMUM_CORBA */ #endif +// At the moment we have sendfile support in ACE we enabled this also by +// default for TAO, but we can suppress it also explicitly by set +// TAO_HAS_SENDFILE to 0. +#if !defined (TAO_HAS_SENDFILE) +# if defined ACE_HAS_SENDFILE +# define TAO_HAS_SENDFILE 1 +# else +# define TAO_HAS_SENDFILE 0 +# endif /* ACE_HAS_SENDFILE */ +#endif /* !TAO_HAS_SENDFILE */ + // Proprietary FT interception-point support is disabled by default. #ifndef TAO_HAS_EXTENDED_FT_INTERCEPTORS # define TAO_HAS_EXTENDED_FT_INTERCEPTORS 0 |