Add single include guards to gvariant[type].h

This commit is contained in:
Ryan Lortie 2010-06-22 08:09:27 -04:00
parent 05354cefc5
commit 16c2f08049
2 changed files with 8 additions and 0 deletions

View File

@ -20,6 +20,10 @@
* Author: Ryan Lortie <desrt@desrt.ca>
*/
#if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
#error "Only <glib.h> can be included directly."
#endif
#ifndef __G_VARIANT_H__
#define __G_VARIANT_H__

View File

@ -20,6 +20,10 @@
* Author: Ryan Lortie <desrt@desrt.ca>
*/
#if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
#error "Only <glib.h> can be included directly."
#endif
#ifndef __G_VARIANT_TYPE_H__
#define __G_VARIANT_TYPE_H__