--- brickos/include/sys/bitops.h.orig 2003-07-04 19:26:38.000000000 +0100 +++ brickos/include/sys/bitops.h 2003-07-04 22:04:06.000000000 +0100 @@ -39,7 +39,7 @@ // g++ warns about __asm__ const. we define the problem away. // the CXX symbol is predefined in the Makefile // -#ifdef CXX +#if defined(CXX) || __GNUC__ >= 3 # define ASMCONST #else # define ASMCONST const