# HG changeset patch # User diego # Date 1207412950 0 # Node ID f3e785f2816a0ede308bc222c4a087ca953f794c # Parent 36dae6fb85af65fab06dfdeb0ac0bc50421f9f09 Add multiple inclusion guards to help_mp.h. diff -r 36dae6fb85af -r f3e785f2816a Makefile --- a/Makefile Sat Apr 05 16:19:10 2008 +0000 +++ b/Makefile Sat Apr 05 16:29:10 2008 +0000 @@ -339,11 +339,14 @@ help_mp.h: help/help_mp-en.h $(HELP_FILE) @echo '// WARNING! This is a generated file. Do NOT edit.' > help_mp.h @echo '// See the help/ subdir for the editable files.' >> help_mp.h + @echo '#ifndef MPLAYER_HELP_MP_H' >> help_mp.h + @echo '#define MPLAYER_HELP_MP_H' >> help_mp.h ifeq ($(CHARSET),) @echo '#include "$(HELP_FILE)"' >> help_mp.h else iconv -f UTF-8 -t $(CHARSET) "$(HELP_FILE)" >> help_mp.h endif + @echo '#endif /* MPLAYER_HELP_MP_H */' >> help_mp.h ifneq ($(HELP_FILE),help/help_mp-en.h) @echo "Adding untranslated messages to help_mp.h"