From 43fcc1e80baca650f2e03a4b0d0e176fcacacdf4 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 4 Jun 2010 13:54:35 +0000 Subject: [PATCH] test_gfx preprocessing needs to be rearranged a little different so mylcd defaults to core graphics unless greylib is being tested. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26544 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/test_gfx.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/apps/plugins/test_gfx.c b/apps/plugins/test_gfx.c index 3ba8956109..2c46d16b63 100644 --- a/apps/plugins/test_gfx.c +++ b/apps/plugins/test_gfx.c @@ -16,13 +16,16 @@ * KIND, either express or implied. * ****************************************************************************/ -#include "plugin.h" -#include "lib/grey.h" -#include "lib/helper.h" -#include "lib/mylcd.h" //#define TEST_GREYLIB /* Uncomment for testing greylib instead of core gfx */ +#include "plugin.h" +#ifdef TEST_GREYLIB /* otherwise, mylcd defaults to core gfx */ +#include "lib/grey.h" +#endif +#include "lib/helper.h" +#include "lib/mylcd.h" + #ifdef TEST_GREYLIB GREY_INFO_STRUCT static unsigned char *gbuf;