summaryrefslogtreecommitdiff
path: root/glib/gtimer.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/gtimer.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/gtimer.h')
-rw-r--r--glib/gtimer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gtimer.h b/glib/gtimer.h
index 1f05c38ef..743eed1f9 100644
--- a/glib/gtimer.h
+++ b/glib/gtimer.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