libs/wine: make lack of LDT support an #error

Austin English austinenglish at gmail.com
Mon Oct 11 18:12:52 CDT 2010


Nothing runs without it.

-- 
-Austin
-------------- next part --------------
diff --git a/libs/wine/ldt.c b/libs/wine/ldt.c
index d56790f..712fe26 100644
--- a/libs/wine/ldt.c
+++ b/libs/wine/ldt.c
@@ -226,8 +226,7 @@ static int internal_set_entry( unsigned short sel, const LDT_ENTRY *entry )
     if ((ret = i386_set_ldt(index, (union ldt_entry *)entry, 1)) < 0)
         perror("i386_set_ldt");
 #else
-    fprintf( stderr, "No LDT support on this platform\n" );
-    exit(1);
+#error No LDT support on this platform
 #endif
 
     if (ret >= 0)


More information about the wine-patches mailing list