mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 19:36:18 +01:00
Add single include guards to gvariant[type].h
This commit is contained in:
parent
05354cefc5
commit
16c2f08049
@ -20,6 +20,10 @@
|
|||||||
* Author: Ryan Lortie <desrt@desrt.ca>
|
* 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__
|
#ifndef __G_VARIANT_H__
|
||||||
#define __G_VARIANT_H__
|
#define __G_VARIANT_H__
|
||||||
|
|
||||||
|
@ -20,6 +20,10 @@
|
|||||||
* Author: Ryan Lortie <desrt@desrt.ca>
|
* 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__
|
#ifndef __G_VARIANT_TYPE_H__
|
||||||
#define __G_VARIANT_TYPE_H__
|
#define __G_VARIANT_TYPE_H__
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user