A workaround I've used before is something like:

Code:
#define COMPILE_ASSERT(_cond)   typedef char _Dummy[(_cond)]
Then you'd use it like:

Code:
int main()
{
     COMPILE_ASSERT(sizeof(char) == 1);
}
You'd have to check if your compiler supports the definition of zero-element arrays (I remember some Linux compilers did). In which case, you'd redefine the macro to:

Code:
#define COMPILE_ASSERT(_cond)   typedef char _Dummy[(_cond) - 1]
Of course, you won't get a proper error message when the assertion fails, but eh.