diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2011-09-08 08:20:29 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2011-09-08 08:20:29 +0000 |
commit | 33840fd109d5ad252bd002ed3eb468a2bb705192 (patch) | |
tree | ea32c36af03516307c07a8bd0d8e8d83a8b85fbb /ACE/ace/OS_NS_unistd.cpp | |
parent | 6ac34d3f327b172d12ee2b92739ea262a553f22f (diff) | |
download | ATCD-33840fd109d5ad252bd002ed3eb468a2bb705192.tar.gz |
Thu Sep 8 08:16:35 UTC 2011 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Lib_Find.cpp:
Add support for ACE_DEFAULT_TEMP_DIR
* ace/MEM_Stream.h:
Added missing export include
* ace/OS_NS_unistd.cpp:
Added ACE_HAS_NONCONST_PWRITE
* ace/Select_Reactor_Base.cpp:
Layout change
* include/makeinclude/platform_android_linux.GNU:
Use ?= to make an override possible from platform_macros.GNU
Diffstat (limited to 'ACE/ace/OS_NS_unistd.cpp')
-rw-r--r-- | ACE/ace/OS_NS_unistd.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ACE/ace/OS_NS_unistd.cpp b/ACE/ace/OS_NS_unistd.cpp index 355d3fb7b80..dde0b7f7e3e 100644 --- a/ACE/ace/OS_NS_unistd.cpp +++ b/ACE/ace/OS_NS_unistd.cpp @@ -707,8 +707,11 @@ ACE_OS::pwrite (ACE_HANDLE handle, return (ssize_t) bytes_written; # else /* ACE_WIN32 */ - +# if defined (ACE_HAS_NON_CONST_PWRITE) + return ::pwrite (handle, const_cast<void*> (buf), nbytes, offset); +# else return ::pwrite (handle, buf, nbytes, offset); +# endif # endif /* ACE_WIN32 */ # else /* ACE_HAS_P_READ_WRITE */ |