| 46 | #ifdef __APPLE__ // this block only for Macs |
| 47 | # ifndef __MAC_OS_X_VERSION_MIN_REQUIRED // are AvailabilityMacros.h or Availability.h not yet included? |
| 48 | # if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1050 // then for Leopard and later… |
| 49 | # include <Availability.h> // …either include this… |
| 50 | # else |
| 51 | # include <AvailabilityMacros.h> // …or include that |
| 52 | # endif |
| 53 | # endif |
| 54 | # if __MAC_OS_X_VERSION_MIN_REQUIRED < 1060 // and for some OS versions do this… |
| 55 | # ifndef AI_NUMERICSERV |
| 56 | # define AI_NUMERICSERV 0 |
| 57 | # endif |
| 58 | # endif // finish OS version discrimination |
| 59 | #endif // finish Apple case |
| 60 | |