Version for windows/console compilation?
Prudence via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Sep 10 11:06:41 PDT 2015
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)).
More information about the Digitalmars-d-learn