ICU-2759 QNX has a slightly broken mmap, and this fixes it.
X-SVN-Rev: 11379
This commit is contained in:
parent
6d1e406059
commit
8d325bc978
@ -179,6 +179,8 @@
|
||||
/* get a view of the mapping */
|
||||
#ifndef HPUX
|
||||
data=mmap(0, length, PROT_READ, MAP_SHARED, fd, 0);
|
||||
#elif defined(U_QNX)
|
||||
data=mmap(0, length, PROT_READ, MAP_PRIVATE|MAP_NOSYNCFILE, fd, 0);
|
||||
#else
|
||||
data=mmap(0, length, PROT_READ, MAP_PRIVATE, fd, 0);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user