Is there a flag for knowing when a project is compiling for windows(Uses WinMain) vs a console(normal main)?

version(Windows) is always valid for a console app, so it is useless to disambiguate between a console app and a windows app. (Say I have both a main and a winmain in my code, I need to select between them(it's a bit more complex than this but)).


Reply via email to