[cogl/wip/rib/master-next: 22/29] texture-pixmap-x11.h: define __COGL_XLIB_H_INSIDE__
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/wip/rib/master-next: 22/29] texture-pixmap-x11.h: define __COGL_XLIB_H_INSIDE__
- Date: Mon, 20 Feb 2012 00:28:12 +0000 (UTC)
commit d537ae6d299a86951fb800e2bfbfddf6e3011be1
Author: Robert Bragg <robert linux intel com>
Date: Sun Feb 19 23:05:30 2012 +0000
texture-pixmap-x11.h: define __COGL_XLIB_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_XLIB_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.
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 6aa2098..52e0f5a 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_XLIB_H_INSIDE__
+
#include <cogl/cogl-handle.h>
#ifdef COGL_ENABLE_EXPERIMENTAL_API
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]