From 18eb6e16b3aca46fb36b08d4d6e09ad587474fa9 Mon Sep 17 00:00:00 2001 From: "jiaojinxing1987@gmail.com" Date: Sat, 2 Oct 2010 12:57:58 +0000 Subject: [PATCH] git-svn-id: https://rt-thread.googlecode.com/svn/trunk@991 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- bsp/mini2440/rtconfig.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bsp/mini2440/rtconfig.h b/bsp/mini2440/rtconfig.h index 9174d9764b..4d62711393 100644 --- a/bsp/mini2440/rtconfig.h +++ b/bsp/mini2440/rtconfig.h @@ -195,7 +195,7 @@ /* SECTION: RTGUI support */ /* using RTGUI support */ -#define RT_USING_RTGUI +/* #define RT_USING_RTGUI */ /* name length of RTGUI object */ #define RTGUI_NAME_MAX 16 @@ -218,11 +218,13 @@ /* SECTION: FTK support */ /* using FTK support */ -#define RT_USING_FTK +#define RT_USING_FTK #ifdef RT_USING_FTK -#undef RT_USING_RTGUI +#ifdef RT_USING_RTGUI +#error "can't using RTGUI and FTK in the same time" +#endif #ifndef RT_USING_NEWLIB #define RT_USING_NEWLIB