summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2007-11-10 03:36:15 +0000
committerroot <root>2007-11-10 03:36:15 +0000
commit62e079bb6850faefce26c3930818dba3659cbda8 (patch)
tree8ee4bbf72a06e9ac44ed25b6ab79a730e81a810b
parentf2a9defa2bdaf750790aae6cea75cf23b945189e (diff)
*** empty log message ***
-rw-r--r--ev.c9
1 files changed, 9 insertions, 0 deletions
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
+