From: John Darrington Date: Mon, 20 May 2013 05:13:10 +0000 (+0200) Subject: Avoid problems with G_CONST_RETURN X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f2f1ce02a857e9bc975d157a04419c021854d57;p=pspp Avoid problems with G_CONST_RETURN This is no longer used by us. But may be used by other 3rd party libraries. --- diff --git a/src/ui/gui/include/gtk/gtk.in.h b/src/ui/gui/include/gtk/gtk.in.h index a7f916a625..fcf9fc9ed8 100644 --- a/src/ui/gui/include/gtk/gtk.in.h +++ b/src/ui/gui/include/gtk/gtk.in.h @@ -234,4 +234,9 @@ gtk_button_get_event_window (GtkButton *button) } #endif /* gtk < 2.22 */ + +#ifndef G_CONST_RETURN +#define G_CONST_RETURN const +#endif + #endif /* PSPP_GTK_GTK_H */