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

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

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