Hi Tom,

Tom Petersen <[EMAIL PROTECTED]> was heard to say:

> A question about the mysql.h header file:
>
> On line 48-54 the macro my_socket is defined (to value SOCKET) if the
> system is Windows. When I try to compile the libdbi-driver for mysql, this
> leads to an error in mysql_com.h on line 116 (because SOCKET is not
> defined...) Is there something missing in the libdbi files in connection
> with this?

It is very well possible that the mysql driver code (or all drivers) requires
some porting to work with MinGW. But as I said before, I don't use that system
and I can't be of much help here. Let's hope that Ashish, our MinGW expert, can
eventually look into this.

>
> How is this handled in the cygwin build of libdbi?
>

No porting was required to compile libdbi and the mysql driver on Cygwin, as
this system nicely emulates a Unix-style environment. There is only some extra
work required to build the drivers as DLLs which explains the extra Makefiles.
But this is not related to your problem.

regards,
Markus

-- 
Markus Hoenicka
[EMAIL PROTECTED]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
libdbi-users mailing list
libdbi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-users

Reply via email to