--- libcoro/coro.h 2009/07/11 14:24:13 1.42 +++ libcoro/coro.h 2010/12/03 19:21:59 1.44 @@ -69,11 +69,16 @@ * 2008-11-16 work around a freebsd pthread bug. * 2008-11-19 define coro_*jmp symbols for easier porting. * 2009-06-23 tentative win32-backend support for mingw32 (Yasuhiro Matsumoto). + * 2010-12-03 tentative support for uclibc (which lacks all sorts of things). */ #ifndef CORO_H #define CORO_H +#if __cplusplus +extern "C" { +#endif + #define CORO_VERSION 2 /* @@ -291,5 +296,9 @@ #endif +#if __cplusplus +} +#endif + #endif