shithub: libvpx

Download patch

ref: 1a1cacfdb04087101c57960e6df6bb4ff75bb65b
parent: 82ed3f9a41ed97ebbbd2c764e397a18273158840
parent: 50771d41f2df6c16dfde17286971d416b4c4f3bf
author: John Koleszar <jkoleszar@google.com>
date: Wed Feb 27 06:22:26 EST 2013

Merge "rtcd: make include guard unique"

--- a/build/make/rtcd.sh
+++ b/build/make/rtcd.sh
@@ -196,8 +196,9 @@
 # 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 <<EOF
 #ifndef ${include_guard}
 #define ${include_guard}