I need my code to do different things based on the operating system on which it gets compiled. I\'m looking for something like this:
#ifdef OSisWindows // do
In most cases it is better to check whether a given functionality is present or not. For example: if the function pipe() exists or not.
pipe()