ipc/chromium/src/third_party/libevent/make-event-config.sed

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 # Sed script to postprocess config.h into event-config.h.
michael@0 2
michael@0 3 1i\
michael@0 4 /* event2/event-config.h\
michael@0 5 *\
michael@0 6 * This file was generated by autoconf when libevent was built, and post-\
michael@0 7 * processed by Libevent so that its macros would have a uniform prefix.\
michael@0 8 *\
michael@0 9 * DO NOT EDIT THIS FILE.\
michael@0 10 *\
michael@0 11 * Do not rely on macros in this file existing in later versions.\
michael@0 12 */\
michael@0 13 \
michael@0 14 #ifndef _EVENT2_EVENT_CONFIG_H_\
michael@0 15 #define _EVENT2_EVENT_CONFIG_H_\
michael@0 16
michael@0 17 $a\
michael@0 18 \
michael@0 19 #endif /* event2/event-config.h */
michael@0 20
michael@0 21 s/#define /#define _EVENT_/
michael@0 22 s/#undef /#undef _EVENT_/
michael@0 23 s/#ifndef /#ifndef _EVENT_/

mercurial