![]() |
CITS2002 Systems Programming |
← prev | next → | ![]() |
![]() |
|||
Detecting the target operating system platformSimilarly, at compile-time we can determine the operating system platform for which we're compiling (note, if we're cross-compiling, this will not be our native platform).Based on this information we can conditionally report an inability to support specific platforms, or can include our own implementation of functions not otherwise available.
CITS2002 Systems Programming, Lecture 22, p5, 16th October 2023.
|