mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-27 09:29:15 -05:00
24d73fa0eb
At least the scratchbox compiler for the N900, which basically is a gcc 4.2, sets only __GNUG__ in C++ mode, but not __GNUC__. It does indeed set __GNUC_MINOR__ and __GNUC_PATCHLEVEL__. Extend the compiler detection code for GNU compilers in C++ mode to look at __GNUG__ in case __GNUC__ is absent.
369 B
369 B