X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/f2a9defa2bdaf750790aae6cea75cf23b945189e..62e079bb6850faefce26c3930818dba3659cbda8:/ev.c 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 +