projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make it possible to disable single-file includes by defining
[platform/upstream/glib.git]
/
glib
/
gbase64.h
diff --git
a/glib/gbase64.h
b/glib/gbase64.h
index
6637984
..
8bf093c
100644
(file)
--- a/
glib/gbase64.h
+++ b/
glib/gbase64.h
@@
-18,6
+18,10
@@
* Boston, MA 02111-1307, USA.
*/
+#if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__G_LIB_H__) && !defined (GLIB_COMPILATION)
+#error "Only <glib.h> can be included directly."
+#endif
+
#ifndef __G_BASE64_H__
#define __G_BASE64_H__