buffer_event.h, event_buffer.h, event_callback.h: Remove sys/time.h, and other redundant #includes.

luaevent.h: sys/time.h is not available with MSVC, use winsock2.h on windows.

luaevent.c: Make ANSI C compatible.

Makefile: Make makefile a bit more generic

Makefile: Added basic Makefile for standard make

base:addevent(): Accept integer as fd parameter

Fix potential stack slot leak when error occurs

(0) -30 -10 -7 +7 +10 +30 tip

mercurial