From 62e079bb6850faefce26c3930818dba3659cbda8 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 10 Nov 2007 03:36:15 +0000 Subject: [PATCH 1/1] *** empty log message *** --- ev.c | 9 +++++++++ 1 file changed, 9 insertions(+) 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 + -- 2.43.0