diff --git a/desmume/src/gtk/cheatsGTK.cpp b/desmume/src/gtk/cheatsGTK.cpp index d8839b6e6..6045bdfdb 100644 --- a/desmume/src/gtk/cheatsGTK.cpp +++ b/desmume/src/gtk/cheatsGTK.cpp @@ -27,6 +27,9 @@ #include "main.h" #include "desmume.h" +#undef GPOINTER_TO_INT +#define GPOINTER_TO_INT(p) ((gint) (glong) (p)) + enum { COLUMN_ENABLED, COLUMN_SIZE,