Make single includes mandatory

This has been the official line since 2.17, which seems plenty
long enough for a transition phase.
This commit is contained in:
Matthias Clasen
2011-10-12 00:24:46 -04:00
parent 9bb5a55bda
commit 7455dd370e
63 changed files with 65 additions and 68 deletions

View File

@@ -19,7 +19,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