[gnome-db] libgda-4.0.1 under MinGW/MSYS

Brecht Sanders <[email protected]>
Newsgroups gmane.comp.gnome.db
Message-ID <[email protected]>
Hi,
I tried to build libgda-4.0.1 under MinGW/MSYS on Windows.
I managed to build it (although only the static version), but one change 
was needed to avoid the redefinition of type uint8_t.
Below is the patch I used.
Why is uint8_t defined there anyway? Are there other win32 targets that 
don't have it at that point?
Regards
    Brecht Sanders

--- tools/web-server.c  Tue Mar 24 20:41:30 2009
+++ tools/web-server.c  Wed Apr  1 13:48:55 2009
@@ -477,3 +477,3 @@
 
-#ifdef G_OS_WIN32
+#if defined(G_OS_WIN32) && !defined(__MINGW32__)
 typedef guint8 uint8_t;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.