Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Why not empty defines?

Re: Why not empty defines?

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: 2005-11-17

Burelli Luca wrote:
> Question: why don't define cpu_boost to be an empty macro on targets
> that don't support cpu frequencies? That would make the code much more
> readable, IMHO. (This is just an example, there are several one-line,
> binary #ifdefs that could be swept away).

This is the intention. Those #ifdefs are mistakes.

Linus
Received on Thu Nov 17 22:44:35 2005


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa