summaryrefslogtreecommitdiff
path: root/gobject/genums.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-12-27 23:43:14 -0500
committerMatthias Clasen <mclasen@redhat.com>2012-12-27 23:43:14 -0500
commite1b99b2ddcf21f5dab26ad74afa6935eaf70028e (patch)
tree100335f4c2ef9e04d58964389985b8f71a98b58a /gobject/genums.h
parent89d48d7800a21db1b94c09644bc68b84cda1940b (diff)
downloadglib-e1b99b2ddcf21f5dab26ad74afa6935eaf70028e.tar.gz
glib-e1b99b2ddcf21f5dab26ad74afa6935eaf70028e.tar.bz2
glib-e1b99b2ddcf21f5dab26ad74afa6935eaf70028e.zip
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
Diffstat (limited to 'gobject/genums.h')
-rw-r--r--gobject/genums.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gobject/genums.h b/gobject/genums.h
index bf8a4191e..4ca006eeb 100644
--- a/gobject/genums.h
+++ b/gobject/genums.h
@@ -16,13 +16,13 @@
* Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307, USA.
*/
+#ifndef __G_ENUMS_H__
+#define __G_ENUMS_H__
+
#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
#error "Only <glib-object.h> can be included directly."
#endif
-#ifndef __G_ENUMS_H__
-#define __G_ENUMS_H__
-
#include <gobject/gtype.h>
G_BEGIN_DECLS