note: the mingw32 and mingw64 also define the obviously redundant WIN32 __WIN32
__WIN32__ and of course the same win 64 in it ,these add nothing.
In case another system comes out or we want to back some existing system , I
suggest we dont use the __MINGW32__ and 64bit varient , we dont need them
(yet)
Jason
Most code will run on any platform , but for code that is platform specific(for
any reason) then I think we should assume this
Default is linux/unix/cygwin/bsd/Darwin ( I dont think we have any code that
needs to distinguish these)
Windows only code #if defined(_WIN32)
MSVC only code #if defined(_MSC_VER)
WIn64 only code #if defined(_WIN64)
Mingw only code #if defined(_WIN32) && ! defined(_MSC_VER)
and any combination can be got by boolean logic
I manly posted this so we have a record of what the switches should be for
each OS.
Jason