On Thu, 2007-04-19 at 16:12 +0000, Miller, Mike (OS Dev) wrote:
It's not such a bad option. The sizeof() test is compile time
determinable, so the compiler simply zeros the fields in the
CONFIG_LBD=n case and does the shift for CONFIG_LBD=y. It certainly
never compiles to four inline condition checks.
James
-