From b5f210ddc96f59938a805f1d0a76110b1323f5dc Mon Sep 17 00:00:00 2001 From: Charles Davis Date: Tue, 16 Feb 2016 02:18:40 -0700 Subject: [PATCH] libwine: Define some functions only on i386 (Clang). Signed-off-by: Charles Davis Signed-off-by: Alexandre Julliard --- libs/wine/mmap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/wine/mmap.c b/libs/wine/mmap.c index b21914768ed..1a3ca591925 100644 --- a/libs/wine/mmap.c +++ b/libs/wine/mmap.c @@ -292,6 +292,7 @@ static inline void reserve_area( void *addr, void *end ) } +#ifdef __i386__ /*********************************************************************** * reserve_malloc_space * @@ -336,6 +337,7 @@ static inline void reserve_dos_area(void) wine_anon_mmap( NULL, first_page, PROT_NONE, MAP_NORESERVE|MAP_FIXED ); wine_mmap_add_reserved_area( NULL, dos_area_size ); } +#endif /***********************************************************************