Re: [xml] MinGW fixes for 2.2.7

Date view Thread view Subject view Author view

From: Wayne Davison (wayned@users.sourceforge.net)
Date: Fri Nov 10 2000 - 16:56:46 EST


On Tue, 7 Nov 2000, Daniel Veillard wrote:
> <grin/> Is this really MinGW specific or do other compilers have this
> kind of annoying behaviour.

AFAIK, all Win32 compilers need to use this syntax to import global
variables from a DLL, but since I don't use any other Win32 compilers, I
didn't want to overstate my case.

I just noticed that my patch did not diff any subdirectories, so it missed
my change to include/win32config.h. Here it is:

Index: include/win32config.h
@@ -6,6 +6,7 @@
 
 #include <io.h>
 
+#define LIBXML_DLL_IMPORT
 #define SOCKLEN_T int
 
 #ifdef INCLUDE_WINSOCK

..wayne..

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Nov 10 2000 - 17:43:28 EST