SDCC: Fix identification of current sdcc compiler
The sdcc compiler no longer defines the SDCC
preprocessor macro. Instead __SDCC_VERSION_MAJOR
and similar component-wise macros are defined. Use them instead if defined.
Issue: #16746 (closed)
The sdcc compiler no longer defines the SDCC
preprocessor macro. Instead __SDCC_VERSION_MAJOR
and similar component-wise macros are defined. Use them instead if defined.
Issue: #16746 (closed)