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



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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]