c2nim doesn't parse C preprocessor macros / directives. Best thing to do is run a C preprocessor over the file first and then invoke c2nim. You can accomplish this with `gcc` by doing something like:
`gcc -E header.h -o header_preprocessed.h` Also I agree with the general sentiment that c2nim is great and I am a regular user of the tool.