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 agoYou 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.