[cogl] texture-pixmap-x11.h: define __COGL_H_INSIDE__



commit 1022c285c6f7313972d8ec96a12b71f3e07880d4
Author: Robert Bragg <robert linux intel com>
Date:   Sun Feb 19 23:05:30 2012 +0000

    texture-pixmap-x11.h: define __COGL_H_INSIDE__
    
    Ideally we wouldn't have exposed cogl-texture-pixmap-x11.h as a
    top level header and would have just automatically included it in cogl.h
    but we already have code that assumes it can be directly included.
    
    This ensures we define __COGL_H_INSIDE__ as a reminder that it is a top
    level header in case we later need to include other cogl internal cogl
    headers which would cause a build time error without this defined.
    
    Reviewed-by: Neil Roberts <neil linux intel com>

 cogl/winsys/cogl-texture-pixmap-x11.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/cogl/winsys/cogl-texture-pixmap-x11.h b/cogl/winsys/cogl-texture-pixmap-x11.h
index 48911a0..51385bd 100644
--- a/cogl/winsys/cogl-texture-pixmap-x11.h
+++ b/cogl/winsys/cogl-texture-pixmap-x11.h
@@ -24,6 +24,8 @@
 #ifndef __COGL_TEXTURE_PIXMAP_X11_H
 #define __COGL_TEXTURE_PIXMAP_X11_H
 
+#define __COGL_H_INSIDE__
+
 #include <cogl/cogl.h>
 
 #ifdef COGL_ENABLE_EXPERIMENTAL_API



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]