| Josh Gao | 5317f2d | 2017-06-30 14:35:00 -0700 | [diff] [blame] | 1 | #if defined(__cplusplus) |
| 2 | extern "C" { | ||||
| 3 | #endif | ||||
| 4 | |||||
| Josh Gao | bfb6bae | 2016-07-15 17:25:21 -0700 | [diff] [blame] | 5 | #if __ANDROID_API__ < 12 |
| 6 | static int foo() { | ||||
| Josh Gao | bf8a285 | 2016-05-27 11:59:09 -0700 | [diff] [blame] | 7 | return 0; |
| 8 | } | ||||
| 9 | #else | ||||
| Josh Gao | bfb6bae | 2016-07-15 17:25:21 -0700 | [diff] [blame] | 10 | int foo() __INTRODUCED_IN(12); |
| Josh Gao | bf8a285 | 2016-05-27 11:59:09 -0700 | [diff] [blame] | 11 | #endif |
| Josh Gao | 5317f2d | 2017-06-30 14:35:00 -0700 | [diff] [blame] | 12 | |
| 13 | #if defined(__cplusplus) | ||||
| 14 | } | ||||
| 15 | #endif | ||||