From 0bb93e7c8c5517eecd840b3930a9a43c6aa566f8 Mon Sep 17 00:00:00 2001 From: zeromus Date: Wed, 17 Nov 2010 08:06:49 +0000 Subject: [PATCH] ok i shouldve checked for these all at once but now i did and this is the last --- desmume/src/gtk/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/desmume/src/gtk/main.cpp b/desmume/src/gtk/main.cpp index fa86dd013..65966139d 100644 --- a/desmume/src/gtk/main.cpp +++ b/desmume/src/gtk/main.cpp @@ -66,6 +66,9 @@ #include "DeSmuME.xpm" +#undef GPOINTER_TO_INT +#define GPOINTER_TO_INT(p) ((gint) (glong) (p)) + #define EMULOOP_PRIO (G_PRIORITY_HIGH_IDLE + 20) #if GTK_CHECK_VERSION(2,10,0)