| 4 | |
| 5 | |
| 6 | On 10.6, it is guarded like so: |
| 7 | {{{ |
| 8 | #if ( defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L ) || ! defined( __STRICT_ANSI__ ) || ! defined( __GNUC__ ) |
| 9 | /* long long is not part of C90. Make sure you are passing -std=c99 or -std=gnu99 or better if you need this. */ |
| 10 | extern long long int llrintl(long double); |
| 11 | extern long long int llroundl(long double); |
| 12 | #endif /* #if ( defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L ) || ! defined( __STRICT_ANSI__ ) || ! defined( __GNUC__ ) */ |
| 13 | }}} |
| 14 | |
| 15 | but on 10.7, the guard changes to |
| 16 | {{{ |
| 17 | #if !(__DARWIN_NO_LONG_LONG) |
| 18 | /* long long is not part of C90. Make sure you are passing -std=c99 or -std=gnu99 or better if you need this. */ |
| 19 | extern long long int llrintl(long double); |
| 20 | extern long long int llroundl(long double); |
| 21 | #endif /* !(__DARWIN_NO_LONG_LONG) */ |
| 22 | }}} |
| 23 | |
| 24 | which would explain the change in needs with the system versions 10.7+. |