diff options
author | jtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-03 19:40:35 +0000 |
---|---|---|
committer | jtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-03 19:40:35 +0000 |
commit | af93ee54eb4c326b858cd30e2f794f63582b4db7 (patch) | |
tree | aa647c909210e1510e9a3a9373f2a769e502a810 /ace | |
parent | e27efd3c1000ef07110551891f019604332830cb (diff) | |
download | ATCD-af93ee54eb4c326b858cd30e2f794f63582b4db7.tar.gz |
ChangeLogTag: Fri Sep 3 12:34:41 2004 J.T. Conklin <jtc@acorntoolworks.com>
Diffstat (limited to 'ace')
-rw-r--r-- | ace/OS_NS_sys_mman.inl | 8 | ||||
-rw-r--r-- | ace/config-win32-common.h | 1 |
2 files changed, 2 insertions, 7 deletions
diff --git a/ace/OS_NS_sys_mman.inl b/ace/OS_NS_sys_mman.inl index 1e3006e259a..f4f5987d0a8 100644 --- a/ace/OS_NS_sys_mman.inl +++ b/ace/OS_NS_sys_mman.inl @@ -23,13 +23,7 @@ ACE_INLINE int ACE_OS::madvise (caddr_t addr, size_t len, int map_advice) { ACE_OS_TRACE ("ACE_OS::madvise"); -#if defined (ACE_WIN32) - ACE_UNUSED_ARG (addr); - ACE_UNUSED_ARG (len); - ACE_UNUSED_ARG (map_advice); - - ACE_NOTSUP_RETURN (-1); -#elif !defined (ACE_LACKS_MADVISE) +#if !defined (ACE_LACKS_MADVISE) ACE_OSCALL_RETURN (::madvise (addr, len, map_advice), int, -1); #else ACE_UNUSED_ARG (addr); diff --git a/ace/config-win32-common.h b/ace/config-win32-common.h index 3e79781b8ef..079ba1fb143 100644 --- a/ace/config-win32-common.h +++ b/ace/config-win32-common.h @@ -222,6 +222,7 @@ #define ACE_LACKS_SYS_PARAM_H #define ACE_LACKS_PTHREAD_H #define ACE_LACKS_ARPA_INET_H +#define ACE_LACKS_MADVISE #define ACE_HAS_SNPRINTF #define ACE_HAS_VFWPRINTF |