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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

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

mercurial