From e1b99b2ddcf21f5dab26ad74afa6935eaf70028e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 27 Dec 2012 23:43:14 -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 --- glib/gmessages.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'glib/gmessages.h') diff --git a/glib/gmessages.h b/glib/gmessages.h index 9cbcc8388..777cda238 100644 --- a/glib/gmessages.h +++ b/glib/gmessages.h @@ -24,13 +24,13 @@ * GLib at ftp://ftp.gtk.org/pub/gtk/. */ +#ifndef __G_MESSAGES_H__ +#define __G_MESSAGES_H__ + #if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION) #error "Only can be included directly." #endif -#ifndef __G_MESSAGES_H__ -#define __G_MESSAGES_H__ - #include #include #include -- cgit v1.2.1