From: Nick M. <ni...@us...> - 2012-02-29 20:56:32
|
Author: Nick Mathewson <ni...@to...> Date: Wed, 29 Feb 2012 15:07:31 -0500 Subject: Make the generated event-config.h use correct include guards Commit: 639383a45427ecfb3dc305bbefc345abf7d31940 --- Makefile.am | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index a16c9cf..ac138af 100644 --- a/Makefile.am +++ b/Makefile.am @@ -173,8 +173,8 @@ BUILT_SOURCES = ./include/event2/event-config.h echo ' *' >> $@ echo ' * Do not rely on macros in this file existing in later versions.'>> $@ echo ' */' >> $@ - echo '#ifndef _EVENT2_EVENT_CONFIG_H_' >> $@ - echo '#define _EVENT2_EVENT_CONFIG_H_' >> $@ + echo '#ifndef EVENT2_EVENT_CONFIG_H_INCLUDED_' >> $@ + echo '#define EVENT2_EVENT_CONFIG_H_INCLUDED_' >> $@ sed -e 's/#define /#define EVENT__/' \ -e 's/#undef /#undef EVENT__/' \ -- 1.7.4.1 |