[PATCH] libwine: Define these functions only on i386. (Clang)
Charles Davis
cdavis5x at gmail.com
Tue Feb 16 03:18:40 CST 2016
Signed-off-by: Charles Davis <cdavis5x at gmail.com>
---
libs/wine/mmap.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libs/wine/mmap.c b/libs/wine/mmap.c
index b219147..1a3ca59 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
/***********************************************************************
--
2.7.1
More information about the wine-patches
mailing list