diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-07-28 19:41:48 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-07-28 19:41:48 +0000 |
commit | a826a75800ce614a06ae53ddb95c54ccaf2f51d2 (patch) | |
tree | 3499a234c29ef9251804d301b4dec3f84fb67ed6 /event_rpcgen.py | |
parent | 5b5b880be7452eaf42d401f3ad54474ae60a9dbf (diff) | |
download | libevent-a826a75800ce614a06ae53ddb95c54ccaf2f51d2.tar.gz |
Some tweaks to Brodie Thesfield's MSVC patch.
svn:r1386
Diffstat (limited to 'event_rpcgen.py')
-rwxr-xr-x | event_rpcgen.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/event_rpcgen.py b/event_rpcgen.py index 136d6a83..6b8f5fa9 100755 --- a/event_rpcgen.py +++ b/event_rpcgen.py @@ -1561,9 +1561,13 @@ class CCodeGenerator: pre += ( '#include <stdlib.h>\n' '#include <string.h>\n' '#include <assert.h>\n' + '#include <event-config.h>\n' '#include <event2/event.h>\n' '#include <event2/buffer.h>\n' '#include <event2/tag.h>\n\n' + '#ifdef _EVENT___func__\n' + '#define __func__ _EVENT___FUNC__\n' + '#endif\n\n' ) for statement in cppdirect: |