mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue