Altera_Forum
Honored Contributor
15 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 compiling? I am making a library that I am debugging on Windows and would like to include both NIOS and Windows code separated in this manor, and I would prefer an automatic symbol over a custom made one.