Forum Discussion
Altera_Forum
Honored Contributor
16 years agoMacro Indicating NIOS Compilation?
In my code I can do something like:
# ifdef _WIN32
....
# endif
To only include code on a Windows target. Is there a similar symbol that is automatically defined by the NIOS IDE when...
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- You can define any symbol you want in the build->preprocessor options. If you don't want to add extra symbols and use default project settings, I think you can exploit ALT_DEBUG and ALT_RELEASE. --- Quote End --- Those might be good... for extra portability across projects I would rather it be something default as opposed to something we assigned.