Skip to content

Fix preprocesor check error when undefined value

Jorge Sanjuan Garcia requested to merge fix_undefined_dfine into mad-dev

Newer Linux kernel versions (6.1) add -Werror to the main Makefile. This patch fixes error like:

"_WRS_VXWORKS_MAJOR" is not defined, evaluates to 0 [-Werror=undef]

Merge request reports