tgsi: Fix conflict with fortify printf redirect in glibc.
authorJohannes Obermayr <johannesobermayr@gmx.de>
Mon, 5 Mar 2012 18:37:39 +0000 (19:37 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sat, 7 Apr 2012 18:33:37 +0000 (20:33 +0200)
commita50d695ac20d894278b8e4bc1e0e8a159cd08a1d
tree444ff03ea30126117abf488a1f2d956d0c947f7c
parent299c9052e832712654865af8dbd0ed4bf055d124
tgsi: Fix conflict with fortify printf redirect in glibc.

 Fixes clang error:

   tgsi/tgsi_dump.c:72:12: error: no member named '__printf_chk' in 'struct dump_ctx'
         ctx->printf( ctx, "%u", e );
         ~~~  ^
   /usr/include/bits/stdio2.h:109:3: note: expanded from macro 'printf'
     __printf_chk (__USE_FORTIFY_LEVEL - 1, __VA_ARGS__)
     ^

 Idea stolen from:
   http://www.mail-archive.com/pld-cvs-commit@lists.pld-linux.org/msg210998.html

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_dump.c