i have a library developed in C . I am porting it ,for Windows Store App support. For it i have enabled the Option YES for WindowsStoreAppSupport setting in project settings->configuration properties ->General tab .
Now i have to write code for both the settings where there is windowsstore app support and no support.
can any one let me know what Macro i need to use if i have to know WindowsStoreAppSupport is YES/NO from the settings to use in the code for conditional compilation? i have to support all win32/x64 and ARM configurations.
Thank You
As suggested here, you could use a build configuration symbol to determine what you’re targeting.