Blame wxGTK-2.8.10-gsocket.patch
|
Dan Horák |
71fd42 |
Index: 2.8/src/gtk/gsockgtk.cpp
|
|
Dan Horák |
71fd42 |
===================================================================
|
|
Dan Horák |
71fd42 |
--- 2.8/src/gtk/gsockgtk.cpp (revision 60599)
|
|
Dan Horák |
71fd42 |
+++ 2.8/src/gtk/gsockgtk.cpp (working copy)
|
|
Dan Horák |
71fd42 |
@@ -15,8 +15,13 @@
|
|
Dan Horák |
71fd42 |
#include <stdlib.h>
|
|
Dan Horák |
71fd42 |
#include <stdio.h>
|
|
Dan Horák |
71fd42 |
|
|
Dan Horák |
71fd42 |
+// newer versions of glib define its own GSocket but we unfortunately use this
|
|
Dan Horák |
71fd42 |
+// name in our own (semi-)public header and so can't change it -- rename glib
|
|
Dan Horák |
71fd42 |
+// one instead
|
|
Dan Horák |
71fd42 |
+#define GSocket GlibGSocket
|
|
Dan Horák |
71fd42 |
#include <gdk/gdk.h>
|
|
Dan Horák |
71fd42 |
#include <glib.h>
|
|
Dan Horák |
71fd42 |
+#undef GSocket
|
|
Dan Horák |
71fd42 |
|
|
Dan Horák |
71fd42 |
#include "wx/gsocket.h"
|
|
Dan Horák |
71fd42 |
#include "wx/unix/gsockunx.h"
|
|
Dan Horák |
71fd42 |
|