[glib] Remove single-include guards in deprecated/
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Remove single-include guards in deprecated/
- Date: Thu, 3 Nov 2011 04:31:50 +0000 (UTC)
commit a3c8712c4bc8c8ed4e7523ee06766436a6a84c0e
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Nov 3 00:30:56 2011 -0400
Remove single-include guards in deprecated/
Not allowed to include these headers single anymore, either.
glib/deprecated/gallocator.h | 2 +-
glib/deprecated/gcompletion.h | 2 +-
glib/deprecated/grel.h | 2 +-
glib/deprecated/gthread.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/glib/deprecated/gallocator.h b/glib/deprecated/gallocator.h
index e08ab2f..e4990e9 100644
--- a/glib/deprecated/gallocator.h
+++ b/glib/deprecated/gallocator.h
@@ -15,7 +15,7 @@
* Boston, MA 02111-1307, USA.
*/
-#if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
+#if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
#error "Only <glib.h> can be included directly."
#endif
diff --git a/glib/deprecated/gcompletion.h b/glib/deprecated/gcompletion.h
index af6cf61..f598ca7 100644
--- a/glib/deprecated/gcompletion.h
+++ b/glib/deprecated/gcompletion.h
@@ -24,7 +24,7 @@
* GLib at ftp://ftp.gtk.org/pub/gtk/.
*/
-#if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
+#if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
#error "Only <glib.h> can be included directly."
#endif
diff --git a/glib/deprecated/grel.h b/glib/deprecated/grel.h
index 757c92c..68dcd31 100644
--- a/glib/deprecated/grel.h
+++ b/glib/deprecated/grel.h
@@ -24,7 +24,7 @@
* GLib at ftp://ftp.gtk.org/pub/gtk/.
*/
-#if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
+#if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
#error "Only <glib.h> can be included directly."
#endif
diff --git a/glib/deprecated/gthread.h b/glib/deprecated/gthread.h
index 095ecc2..ef605fa 100644
--- a/glib/deprecated/gthread.h
+++ b/glib/deprecated/gthread.h
@@ -24,7 +24,7 @@
* GLib at ftp://ftp.gtk.org/pub/gtk/.
*/
-#if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
+#if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
#error "Only <glib.h> can be included directly."
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]