summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2011-05-13 08:11:57 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2011-05-17 15:24:54 +0100
commit051e6da8875b9547a3b2281be2f6c25071653b3d (patch)
tree298a16231267ee3dc712d5ced54ef98024942b7c
parentdd5a1c888b68e3d8a4f41212cb257c1e8dc3833b (diff)
downloadcogl-051e6da8875b9547a3b2281be2f6c25071653b3d.tar.gz
misc: Add the single include guard to cogl-define.h
This is a generated file and maybe the reason why it was not included the first time?
-rw-r--r--cogl/cogl-defines.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/cogl/cogl-defines.h.in b/cogl/cogl-defines.h.in
index 0803463a..5baa3b91 100644
--- a/cogl/cogl-defines.h.in
+++ b/cogl/cogl-defines.h.in
@@ -21,6 +21,10 @@
*
*/
+#if !defined(__COGL_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
+#error "Only <cogl/cogl.h> can be included directly."
+#endif
+
#ifndef __COGL_DEFINES_H__
#define __COGL_DEFINES_H__