Fixed some problems found while compiling and linking Wine under Cygwin

Dmitry Timoshkov dmitry at baikal.ru
Sun Jan 18 06:14:39 CST 2004


Hello,

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    Fixed some problems found while compiling and linking Wine under Cygwin.

diff -u cvs/hq/wine/dlls/msvideo/Makefile.in wine/dlls/msvideo/Makefile.in
--- cvs/hq/wine/dlls/msvideo/Makefile.in	Tue Dec 16 03:24:46 2003
+++ wine/dlls/msvideo/Makefile.in	Sun Jan 18 10:36:32 2004
@@ -3,7 +3,7 @@ TOPOBJDIR = ../..
 SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 MODULE    = msvfw32.dll
-IMPORTS   = winmm comctl32 version user32 gdi32 kernel32
+IMPORTS   = winmm comctl32 version user32 gdi32 kernel32 ntdll
 ALTNAMES  = msvideo.dll
 EXTRALIBS = $(LIBUNICODE)
 
diff -u cvs/hq/wine/dlls/uxtheme/uxtheme.spec wine/dlls/uxtheme/uxtheme.spec
--- cvs/hq/wine/dlls/uxtheme/uxtheme.spec	Fri Dec 05 04:00:36 2003
+++ wine/dlls/uxtheme/uxtheme.spec	Sun Jan 18 11:15:12 2004
@@ -82,7 +82,7 @@
 @ stdcall GetThemeTextExtent(ptr ptr long long wstr long long ptr ptr)
 @ stdcall GetThemeTextMetrics(ptr ptr long long ptr)
 @ stdcall GetWindowTheme(ptr)
-@ stdcall HitTestThemeBackground(ptr ptr long long long ptr ptr long ptr)
+@ stdcall HitTestThemeBackground(ptr long long long long ptr long double ptr)
 @ stdcall IsAppThemed()
 @ stdcall IsThemeActive()
 @ stdcall IsThemeBackgroundPartiallyTransparent(ptr long long)
diff -u cvs/hq/wine/libs/wine/wine.def wine/libs/wine/wine.def
--- cvs/hq/wine/libs/wine/wine.def	Sat Jan 03 04:50:02 2004
+++ wine/libs/wine/wine.def	Sun Jan 18 12:08:22 2004
@@ -32,6 +32,7 @@ EXPORTS
     wine_dlopen
     wine_dlsym
     wine_exec_wine_binary
+    wine_free_pe_load_area
     wine_get_config_dir
     wine_get_cs
     wine_get_ds
@@ -55,6 +56,12 @@ EXPORTS
     wine_ldt_is_system
     wine_ldt_realloc_entries
     wine_ldt_set_entry
+    wine_pthread_abort_thread
+    wine_pthread_create_thread
+    wine_pthread_exit_thread
+    wine_pthread_init_process
+    wine_pthread_init_thread
     wine_set_fs
     wine_set_gs
+    wine_set_pe_load_area
     wine_switch_to_stack
diff -u cvs/hq/wine/loader/kthread.c wine/loader/kthread.c
--- cvs/hq/wine/loader/kthread.c	Wed Dec 31 03:43:26 2003
+++ wine/loader/kthread.c	Sun Jan 18 11:23:12 2004
@@ -90,7 +90,11 @@ struct pthread_descr_struct
     int                thread_h_errno;
     int                cancel_state;
     int                cancel_type;
+#ifdef __GLIBC__
     struct __res_state res_state;
+#else
+    void *res_state;
+#endif /* __GLIBC__ */
     const void        *key_data[MAX_KEYS];  /* for normal pthread keys */
     const void        *tsd_data[MAX_TSD];   /* for libc internal tsd variables */
 };






More information about the wine-patches mailing list