title: How to detect reliably Mac OS X, iOS, Linux, Windows in C preprocessor?
body: <p>If there's some cross-platform C/C++ code that should be compiled on Mac OS X, iOS, Linux, Windows, how can I detect them reliably during preprocessor process?</p>