1
0
Fork 0
forked from len0rd/rockbox

Change the gcc options for sdl builds to allow for gnu99 features, it needs some fixes in other places. Fixes test_mem compilation failure on cygwin.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28723 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2010-12-02 21:20:30 +00:00
parent 589d2110dc
commit 921ac8d6dd
7 changed files with 11 additions and 23 deletions

View file

@ -188,7 +188,9 @@ enum plugin_status plugin_start(const void* parameter)
{
(void)parameter;
bool done = false;
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
bool boost = false;
#endif
int count = 0;
#ifdef HAVE_LCD_BITMAP
@ -204,7 +206,7 @@ enum plugin_status plugin_start(const void* parameter)
line = 0;
int ret;
rb->screens[0]->clear_display();
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
TEST_MEM_PRINTF("%s", boost?"boosted":"unboosted");
TEST_MEM_PRINTF("clock: %d Hz", *rb->cpu_frequency);
#endif