When using this code,
#if (defined _WIN32_ || defined _WIN64 || defined _WINDLL )
The IDE would not recognize my system is Window. I was looking online and I was not able to find answers on it. Thank you!
Solved! Go to Solution.
Well, I think this is not about the IDE, but about the compiler.
Such macros are used to detect if you are building for Windows. But as MCUXpresso is for NXP devices and for ARM Cortex, you are not building for Windows, so these defines are not activated.
If you want to develop applications for running on Windows, you need another compiler/tool.
I hope this helps,
Erich
Well, I think this is not about the IDE, but about the compiler.
Such macros are used to detect if you are building for Windows. But as MCUXpresso is for NXP devices and for ARM Cortex, you are not building for Windows, so these defines are not activated.
If you want to develop applications for running on Windows, you need another compiler/tool.
I hope this helps,
Erich
Thank you that make sense.