/*
******************************************************************************
*
-* Copyright (C) 1999-2003, International Business Machines
+* Copyright (C) 1999-2004, International Business Machines
* Corporation and others. All Rights Reserved.
*
******************************************************************************/
* wrapper functions.
*
*----------------------------------------------------------------------------*/
-#include "unicode/utypes.h"
+#include "unicode/putil.h"
#include "udatamem.h"
#ifdef WIN32
# define WIN32_LEAN_AND_MEAN
-# define NOGDI
+# define VC_EXTRALEAN
# define NOUSER
# define NOSERVICE
# define NOIME
# define MAP_IMPLEMENTATION MAP_WIN32
/* ### Todo: properly auto detect mmap(). Until then, just add your platform here. */
-#elif U_HAVE_MMAP || defined(AIX) || defined(HPUX) || defined(OS390) || defined(PTX)
+#elif U_HAVE_MMAP || defined(U_AIX) || defined(U_HPUX) || defined(OS390) || defined(PTX)
typedef size_t MemoryMap;
# define IS_MAP(map) ((map)!=0)
}
/* get a view of the mapping */
-#ifndef HPUX
+#ifndef U_HPUX
data=mmap(0, length, PROT_READ, MAP_SHARED, fd, 0);
#else
data=mmap(0, length, PROT_READ, MAP_PRIVATE, fd, 0);