changeset 474:00f6b36ec5d2 Android_Skia

Conditional include mb_X_supp.h according X_SUPP
author Thinker K.F. Li <thinker@branda.to>
date Thu, 12 Nov 2009 21:33:08 +0800
parents ba64f928542b
children 744c64eb3182
files include/mb.h include/mb_config.h.in
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/include/mb.h	Thu Nov 12 21:32:58 2009 +0800
+++ b/include/mb.h	Thu Nov 12 21:33:08 2009 +0800
@@ -1,9 +1,13 @@
 #ifndef __MB_H_
 #define __MB_H_
 
+#include "mb_config.h"
+
 #include "mb_types.h"
 #include "mb_redraw_man.h"
+#ifdef X_SUPP
 #include "mb_X_supp.h"
+#endif
 #include "mb_animate.h"
 #include "mb_shapes.h"
 
--- a/include/mb_config.h.in	Thu Nov 12 21:32:58 2009 +0800
+++ b/include/mb_config.h.in	Thu Nov 12 21:33:08 2009 +0800
@@ -13,4 +13,7 @@
 /* Enable sh_stext */
 #undef SH_STEXT
 
+/* Enable X backend */
+#undef X_SUPP
+
 #endif /* __MB_CONFIG_H_ */