sorry man i'm a total idiot, the proper way should be:
#if defined(HAVE_CXX0X) || defined(HAVE_CXX11)

sorry!