silicontoadet
Programmer
Hi,
Maybe this is the wrong place to ask but I was wondering whether there is some header file out there that identifies the majority of the OS's/ compilers, architectures etc... at compile time, probably using macros i.e. checking for definitions such as _WIN32 for windows as defined by some compilers etc... or _i386_.
The purpose: when running a tool/compiled binary, I can identify which compiler architecture operating system was used to compile the binary. something of an issue when I'm dealing with a number of platforms.
TIA
TOAD
Maybe this is the wrong place to ask but I was wondering whether there is some header file out there that identifies the majority of the OS's/ compilers, architectures etc... at compile time, probably using macros i.e. checking for definitions such as _WIN32 for windows as defined by some compilers etc... or _i386_.
The purpose: when running a tool/compiled binary, I can identify which compiler architecture operating system was used to compile the binary. something of an issue when I'm dealing with a number of platforms.
TIA
TOAD