]> granicus.if.org Git - libevent/commitdiff
Make the generated event-config.h use correct include guards
authorNick Mathewson <nickm@torproject.org>
Wed, 29 Feb 2012 20:07:31 +0000 (15:07 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 29 Feb 2012 20:07:31 +0000 (15:07 -0500)
Makefile.am

index a16c9cf2dcb0f3177baa9e26cedfd95df96984f0..ac138afee4eb2408ede1032497efe12e1e26523a 100644 (file)
@@ -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__/' \