wok-current view wxWidgets/stuff/gsockgtk.patch @ rev 8629
Fix: mingw32-gcc now compile well using tazwoi-experimental; it's two additionnal sources are now declared.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 15 03:16:10 2011 +0100 (2011-02-15) |
parents | |
children |
line source
1 --- src/gtk/gsockgtk.cpp Fri Mar 6 13:11:40 2009
2 +++ src/gtk/gsockgtk.cpp Thu Sep 17 12:10:10 2009
3 @@ -15,8 +15,13 @@
4 #include <stdlib.h>
5 #include <stdio.h>
7 +// newer versions of glib define its own GSocket but we unfortunately use this
8 +// name in our own (semi-)public header and so can't change it -- rename glib
9 +// one instead
10 +#define GSocket GlibGSocket
11 #include <gdk/gdk.h>
12 #include <glib.h>
13 +#undef GSocket
15 #include "wx/gsocket.h"
16 #include "wx/unix/gsockunx.h"