mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-1407 Properly fixed mmap checking (I think)
X-SVN-Rev: 6502
This commit is contained in:
parent
6539a70a77
commit
8513e76562
3 changed files with 158 additions and 155 deletions
|
@ -46,7 +46,7 @@
|
|||
# define MAP_IMPLEMENTATION MAP_WIN32
|
||||
|
||||
/* ### Todo: auto detect mmap(). Until then, just add your platform here. */
|
||||
#elif U_HAVE_MMAP
|
||||
#elif U_HAVE_MMAP || defined(AIX) || defined(HPUX) || defined(OS390) || defined(PTX)
|
||||
typedef size_t MemoryMap;
|
||||
|
||||
# define IS_MAP(map) ((map)!=0)
|
||||
|
|
304
icu4c/source/configure
vendored
304
icu4c/source/configure
vendored
File diff suppressed because it is too large
Load diff
|
@ -4,7 +4,7 @@ dnl Copyright (c) 1999-2000, International Business Machines Corporation and
|
|||
dnl others. All Rights Reserved.
|
||||
dnl Stephen F. Booth, heavily modified by Yves and others
|
||||
|
||||
dnl $Id: configure.in,v 1.130 2001/10/30 19:56:39 grhoten-oss Exp $
|
||||
dnl $Id: configure.in,v 1.131 2001/10/30 23:41:05 grhoten-oss Exp $
|
||||
|
||||
dnl Process this file with autoconf to produce a configure script
|
||||
AC_INIT(common/unicode/utypes.h)
|
||||
|
@ -299,6 +299,7 @@ AC_SUBST(HAVE_DLOPEN)
|
|||
|
||||
dnl Check for mmap()
|
||||
|
||||
HAVE_MMAP=0
|
||||
AC_FUNC_MMAP
|
||||
if test $ac_cv_func_mmap_fixed_mapped = yes; then
|
||||
HAVE_MMAP=1
|
||||
|
@ -308,9 +309,9 @@ AC_SUBST(HAVE_MMAP)
|
|||
dnl Checks for header files
|
||||
AC_CHECK_HEADERS(inttypes.h)
|
||||
if test $ac_cv_header_inttypes_h = no; then
|
||||
U_HAVE_INTTYPES_H=0
|
||||
U_HAVE_INTTYPES_H=0
|
||||
else
|
||||
U_HAVE_INTTYPES_H=1
|
||||
U_HAVE_INTTYPES_H=1
|
||||
fi
|
||||
if test $CC = ccc; then
|
||||
AC_MSG_RESULT("C compiler set to CCC ${CC}" )
|
||||
|
|
Loading…
Add table
Reference in a new issue