The variables preloader_start and preloader_end are only defined in the Linux- specific code.
Signed-off-by: Ken Thomases ken@codeweavers.com --- loader/preloader.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/loader/preloader.c b/loader/preloader.c index 3b1f5ad..db6bbdc 100644 --- a/loader/preloader.c +++ b/loader/preloader.c @@ -1317,6 +1317,7 @@ void preload_reserve( const char *str, struct wine_preload_info *preload_info, s
/* sanity checks */ if (end <= start) start = end = NULL; +#ifdef __linux__ else if ((char *)end > preloader_start && (char *)start <= preloader_end) { @@ -1324,6 +1325,7 @@ void preload_reserve( const char *str, struct wine_preload_info *preload_info, s start, end, preloader_start, preloader_end ); start = end = NULL; } +#endif
/* check for overlap with low memory areas */ for (i = 0; preload_info[i].size; i++)