premake.lua: Remove, as we now have a standard Makefile

buffer_event.c, event_buffer.c, luaevent.c: Remove redundant #includes.

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

Add _NAME and _VERSION fields to module

(0) -10 +10 tip

mercurial