Skip to content

CFG_region can only be used in the preprocessor #68

@terrillmoore

Description

@terrillmoore

The definition of CFG_region uses a clever expression involving defined(CFG_*). But defined can only be used in the pre-processor, and the only way to push the info to the compiler is with #if. So need to rewrite as a chain of #if statements assigning a numeric value based on the first match.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions