Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | GNUC: also check __GNUG__ define when checking for g++ | Rolf Eike Beer | 2017-01-25 | 1 | -0/+11 |
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. |