summaryrefslogtreecommitdiff
path: root/glib/gpattern.h
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-05-05 15:02:15 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-05-05 15:02:15 +0000
commite0aa9d8a6135d404fe1ff60ba6858599e85edf98 (patch)
tree9a3ee191b13df883e0d1b60ec0b1f972c09eea53 /glib/gpattern.h
parent02e2b9539333062f0e2e0daf74b03e66cb177c89 (diff)
downloadglib-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/gpattern.h')
-rw-r--r--glib/gpattern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gpattern.h b/glib/gpattern.h
index cbbea9cd4..b653d713f 100644
--- a/glib/gpattern.h
+++ b/glib/gpattern.h
@@ -17,7 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
-#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