This might help with the build on Linux.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22888 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2007-11-10 21:46:57 +00:00
parent f668d91b37
commit c98d35dc33

View File

@ -2064,7 +2064,7 @@ fssh_read_pages(int fd, fssh_off_t pos, const fssh_iovec *vecs,
if (*_numBytes < toRead) {
// We're supposed to read less than specified by the vecs. Since
// readv_pos() doesn't support this, we need to clone the vecs.
newVecs = new(nothrow) fssh_iovec[count];
newVecs = new(std::nothrow) fssh_iovec[count];
if (!newVecs)
return FSSH_B_NO_MEMORY;
@ -2105,7 +2105,7 @@ fssh_write_pages(int fd, fssh_off_t pos, const fssh_iovec *vecs,
if (*_numBytes < toWrite) {
// We're supposed to write less than specified by the vecs. Since
// writev_pos() doesn't support this, we need to clone the vecs.
newVecs = new(nothrow) fssh_iovec[count];
newVecs = new(std::nothrow) fssh_iovec[count];
if (!newVecs)
return FSSH_B_NO_MEMORY;