_GNUC__
_GNUG__The GNU C++ compiler defines this. Testing it is equivalent to testing (__GNUC__ && __cplusplus).