]> git.sesse.net Git - vlc/blobdiff - src/check_headers
fifo: fix FIFO bytes size computation
[vlc] / src / check_headers
index 0e13920ccd586dabb678980a7ffc660314f89fed..d0b4bb765a6c89fc610db521b2d995fb5ab8c90b 100755 (executable)
@@ -6,8 +6,10 @@ cd "$(dirname "$0")" || exit $?
 # Look for configure #defines in public headers.
 # There are incorrect, as external users don't have our <config.h>.
 regexp="$(cat ../config.h.in | \
-       sed -n -e 's/^#undef \([A-Z0-9_]*\)$/\1/p' | \
+       sed -n -e 's/^#undef \([[:upper:][:digit:]_]*\)$/\1/p' | \
        grep -v 'WORDS_BIGENDIAN' | \
+       grep -v 'UNICODE' | \
+       grep -v '__LIBVLC__' | \
        xargs | \
     sed -e 's/ /\\\(\\s\\\|$\\\)\\\| /g')"
 regexp=" $regexp\$"