summaryrefslogtreecommitdiff
path: root/TAO/tao/MMAP_Allocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/MMAP_Allocator.h')
-rw-r--r--TAO/tao/MMAP_Allocator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/MMAP_Allocator.h b/TAO/tao/MMAP_Allocator.h
index ebf78a68b8c..08f3295ecfd 100644
--- a/TAO/tao/MMAP_Allocator.h
+++ b/TAO/tao/MMAP_Allocator.h
@@ -21,7 +21,7 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#ifdef ACE_HAS_SENDFILE
+#if TAO_HAS_SENDFILE == 1
#include "ace/Malloc_T.h"
#include "ace/MMAP_Memory_Pool.h"
@@ -70,7 +70,7 @@ private:
TAO_END_VERSIONED_NAMESPACE_DECL
-#endif /* ACE_HAS_SENDFILE */
+#endif /* TAO_HAS_SENDFILE==1 */
#include /**/ "ace/post.h"