From 7122c7ceb38a803afe17956f3d7fde897f298cac Mon Sep 17 00:00:00 2001 From: Kent Hansen Date: Fri, 4 Sep 2009 11:45:51 +0200 Subject: define MAP_ANON as MAP_ANONYMOUS on HPUX Reviewed-by: Simon Hausmann --- src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h b/src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h index a4b249b..e1e4ba3 100644 --- a/src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h +++ b/src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h @@ -106,6 +106,9 @@ /* regardless of operating environment */ #if defined(hpux) || defined(__hpux) #define WTF_PLATFORM_HPUX 1 +#ifndef MAP_ANON +#define MAP_ANON MAP_ANONYMOUS +#endif #endif #if defined (__SYMBIAN32__) -- cgit v0.12