[cogl/wip/android: 7/13] misc: Add the single include guard to cogl-define.h
- From: Damien Lespiau <dlespiau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/wip/android: 7/13] misc: Add the single include guard to cogl-define.h
- Date: Mon, 16 May 2011 17:40:16 +0000 (UTC)
commit e8e46e982bb66f0976c13bc34ad290429733b17d
Author: Damien Lespiau <damien lespiau intel com>
Date: Fri May 13 08:11:57 2011 +0100
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?
cogl/cogl-defines.h.in | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-defines.h.in b/cogl/cogl-defines.h.in
index 0803463..5baa3b9 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__
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]