Wine won't compile without optimization

Pavel Roskin proski at gnu.org
Mon Nov 3 11:10:54 CST 2003


Hello!

Once again, there is an unresolved symbol (this time GetCurrentProcessId)
in ntdll that can be fixed by including ntdll_misc.h.  ChangeLog:

	* dlls/ntdll/thread.c:
	Include ntdll_misc.h to fix compilation without optimization.

There are more files in dlls/ntdll that don't include ntdll_misc.h:

cdrom.c
error.c
heap.c
large_int.c
resource.c
rtlbitmap.c
string.c
sysdeps.c
wcstring.c

Feel free to add ntdll_misc.h to them as well.

-- 
Regards,
Pavel Roskin
-------------- next part --------------
--- dlls/ntdll/thread.c
+++ dlls/ntdll/thread.c
@@ -27,6 +27,7 @@
 #include "wine/library.h"
 #include "wine/server.h"
 #include "wine/debug.h"
+#include "ntdll_misc.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(thread);
 


More information about the wine-patches mailing list