diff options
author | Michael Natterer <mitch@imendio.com> | 2008-05-05 15:02:15 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-05-05 15:02:15 +0000 |
commit | e0aa9d8a6135d404fe1ff60ba6858599e85edf98 (patch) | |
tree | 9a3ee191b13df883e0d1b60ec0b1f972c09eea53 /glib/gnode.h | |
parent | 02e2b9539333062f0e2e0daf74b03e66cb177c89 (diff) | |
download | glib-e0aa9d8a6135d404fe1ff60ba6858599e85edf98.tar.gz |
#define __GLIB_H_INSIDE__ around including everything.
2008-05-05 Michael Natterer <mitch@imendio.com>
* glib/glib.h: #define __GLIB_H_INSIDE__ around including
everything.
* glib/*.h: check for that define instead of __G_LIB_H__ if
G_DISABLE_SINGLE_INCLUDES is defined.
* glib/gdatasetprivate.h: #include <glib.h> instead of
<glib/gdataset.h>
svn path=/trunk/; revision=6875
Diffstat (limited to 'glib/gnode.h')
-rw-r--r-- | glib/gnode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gnode.h b/glib/gnode.h index 9a15e0eab..f68e8b3cc 100644 --- a/glib/gnode.h +++ b/glib/gnode.h @@ -24,7 +24,7 @@ * GLib at ftp://ftp.gtk.org/pub/gtk/. */ -#if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__G_LIB_H__) && !defined (GLIB_COMPILATION) +#if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION) #error "Only <glib.h> can be included directly." #endif |