Skip to content

SDCC: Fix identification of current sdcc compiler

Brad King requested to merge brad.king/cmake:sdcc-compiler-id into master

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)

Merge request reports