mystuff/emulators/wine/patches/patch-dlls_ntdll_unix_loader_c

17 lines
492 B
Plaintext

Force preloader to be built
Index: dlls/ntdll/unix/loader.c
--- dlls/ntdll/unix/loader.c.orig
+++ dlls/ntdll/unix/loader.c
@@ -367,11 +367,7 @@ SYSTEM_SERVICE_TABLE KeServiceDescriptorTable[4];
static void fatal_error( const char *err, ... ) __attribute__((noreturn, format(printf,1,2)));
#endif
-#if defined(linux) || defined(__APPLE__)
static const BOOL use_preloader = TRUE;
-#else
-static const BOOL use_preloader = FALSE;
-#endif
static char *argv0;
static const char *bin_dir;