wine/ libs/wine/wine.def libs/wine/loader.c in ...
Ferenc Wagner
wferi at afavant.elte.hu
Wed Jan 7 14:53:14 CST 2004
Alexandre Julliard <julliard at winehq.org> writes:
> ChangeSet ID: 10547
> Changes by: julliard at wine.codeweavers.com 2004/01/02 15:08:05
>
> Modified files:
> libs/wine : wine.def loader.c
> include/wine : library.h
>
> Log message:
> Added wine_dll_get_owner function that retrieves the
> 32-bit dll containing a given 16-bit dll by reading
> the symlink, so that we don't need to dlopen it.
This patch broke cross-compilation, as mingw does not have a
readlink function. I have got no idea about the proper way,
but can emit a wild shot.
Feri.
Index: include/wine/port.h
===================================================================
RCS file: /home/wine/wine/include/wine/port.h,v
retrieving revision 1.45
diff -u -r1.45 port.h
--- include/wine/port.h 4 Dec 2003 05:48:03 -0000 1.45
+++ include/wine/port.h 7 Jan 2004 20:49:44 -0000
@@ -113,6 +113,7 @@
#ifndef S_ISLNK
# define S_ISLNK(mod) (0)
+# define readlink(path,buffer,size) (-1)
#endif /* S_ISLNK */
/* So we open files in 64 bit access mode on Linux */
More information about the wine-patches
mailing list