From 5adecf183bae2b47aa70dbc4b9fdcdd053c23f96 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 28 Dec 2012 09:57:34 -0500 Subject: Move single-include guards inside include guards gcc has optimizations for include guards that only work if they are outermost in the the header. https://bugzilla.gnome.org/show_bug.cgi?id=689810 --- gtk/gtkmain.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gtk/gtkmain.h') diff --git a/gtk/gtkmain.h b/gtk/gtkmain.h index b2ae0a353a..549989afb5 100644 --- a/gtk/gtkmain.h +++ b/gtk/gtkmain.h @@ -22,14 +22,14 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) -#error "Only can be included directly." -#endif - #ifndef __GTK_MAIN_H__ #define __GTK_MAIN_H__ +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + #include #include #ifdef G_PLATFORM_WIN32 -- cgit v1.2.1