From: James Zern Date: Sat, 23 Feb 2013 00:03:40 +0000 (-0800) Subject: rtcd: make include guard unique X-Git-Tag: v1.3.0~1183^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=50771d41f2df6c16dfde17286971d416b4c4f3bf;p=libvpx rtcd: make include guard unique prior numbers were removed resulting in the same include guard for vp[89]_rtcd Change-Id: If2741e5b0cbdda7390c20e865e9f05992caff93e --- diff --git a/build/make/rtcd.sh b/build/make/rtcd.sh index c79bf9b84..6cc36843b 100755 --- a/build/make/rtcd.sh +++ b/build/make/rtcd.sh @@ -196,8 +196,9 @@ filter() { # Helper functions for generating the arch specific RTCD files # common_top() { - outfile_basename=$(basename ${symbol:-rtcd.h}) - include_guard=$(echo $outfile_basename | tr '[a-z]' '[A-Z]' | tr -c '[A-Z]' _) + outfile_basename=$(basename ${symbol:-rtcd}) + include_guard=$(echo $outfile_basename | tr '[a-z]' '[A-Z]' | \ + tr -c '[A-Z0-9]' _)H_ cat <