… | … | ||
---|---|---|---|
269 | #endif | 269 | #endif |
270 | 270 | ||
271 | #if EV_USE_EVENTFD | 271 | #if EV_USE_EVENTFD |
272 | /* our minimum requirement is glibc 2.7 which has the stub, but not the header */ | 272 | /* our minimum requirement is glibc 2.7 which has the stub, but not the header */ |
273 | # include <stdint.h> | 273 | # include <stdint.h> |
274 | # ifdef __cplusplus | ||
275 | extern "C" { | ||
276 | # endif | ||
274 | int eventfd (unsigned int initval, int flags); | 277 | int eventfd (unsigned int initval, int flags); |
278 | # ifdef __cplusplus | ||
279 | } | ||
280 | # endif | ||
275 | #endif | 281 | #endif |
276 | 282 | ||
277 | /**/ | 283 | /**/ |
278 | 284 | ||
279 | /* | 285 | /* |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |