mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-17 08:17:42 -04:00
from trunk: make event_rpcgen.py generate code include event-config.h
svn:r687
This commit is contained in:
parent
d136059826
commit
534d32727a
@ -2,6 +2,7 @@ Changes in 1.4.3-stable:
|
||||
o include Content-Length in reply for HTTP/1.0 requests with keep-alive
|
||||
o Patch from Tani Hosokawa: make some functions in http.c threadsafe.
|
||||
o Do not free the kqop file descriptor in other processes, also allow it to be 0; from Andrei Nigmatulin
|
||||
o make event_rpcgen.py generate code include event-config.h; reported by Sam Banks.
|
||||
|
||||
Changes in 1.4.2-rc:
|
||||
o remove pending timeouts on event_base_free()
|
||||
|
@ -1306,7 +1306,11 @@ def HeaderPreamble(name):
|
||||
name, guard, guard)
|
||||
|
||||
# insert stdint.h - let's hope everyone has it
|
||||
pre += '#include <stdint.h>\n'
|
||||
pre += (
|
||||
'#include <event-config.h>\n'
|
||||
'#ifdef _EVENT_HAVE_STDINT_H\n'
|
||||
'#include <stdint.h>\n'
|
||||
'#endif\n' )
|
||||
|
||||
for statement in headerdirect:
|
||||
pre += '%s\n' % statement
|
||||
|
Loading…
x
Reference in New Issue
Block a user