mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
Make the generated event-config.h use correct include guards
This commit is contained in:
parent
5c0f7e06ce
commit
639383a454
@ -173,8 +173,8 @@ BUILT_SOURCES = ./include/event2/event-config.h
|
|||||||
echo ' *' >> $@
|
echo ' *' >> $@
|
||||||
echo ' * Do not rely on macros in this file existing in later versions.'>> $@
|
echo ' * Do not rely on macros in this file existing in later versions.'>> $@
|
||||||
echo ' */' >> $@
|
echo ' */' >> $@
|
||||||
echo '#ifndef _EVENT2_EVENT_CONFIG_H_' >> $@
|
echo '#ifndef EVENT2_EVENT_CONFIG_H_INCLUDED_' >> $@
|
||||||
echo '#define _EVENT2_EVENT_CONFIG_H_' >> $@
|
echo '#define EVENT2_EVENT_CONFIG_H_INCLUDED_' >> $@
|
||||||
|
|
||||||
sed -e 's/#define /#define EVENT__/' \
|
sed -e 's/#define /#define EVENT__/' \
|
||||||
-e 's/#undef /#undef EVENT__/' \
|
-e 's/#undef /#undef EVENT__/' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user