From: root Date: Sat, 10 Nov 2007 03:36:15 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: rel-0_8~32 X-Git-Url: https://git.llucax.com/software/libev.git/commitdiff_plain/62e079bb6850faefce26c3930818dba3659cbda8?hp=f2a9defa2bdaf750790aae6cea75cf23b945189e *** empty log message *** --- diff --git a/ev.c b/ev.c index 25776bf..342a097 100644 --- a/ev.c +++ b/ev.c @@ -28,6 +28,11 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ + +#ifdef __cplusplus +extern "C" { +#endif + #ifndef EV_STANDALONE # include "config.h" @@ -1596,3 +1601,7 @@ ev_once (EV_P_ int fd, int events, ev_tstamp timeout, void (*cb)(int revents, vo } } +#ifdef __cplusplus +} +#endif +