mesa: use a prefix for the program lex
authorDave Airlie <airlied@redhat.com>
Fri, 14 Sep 2012 00:05:53 +0000 (10:05 +1000)
committerDave Airlie <airlied@gmail.com>
Fri, 14 Sep 2012 22:20:56 +0000 (08:20 +1000)
commitcc943c8470b38a1f13d2493f293a153f75754caa
treeb62afead3c59eed0e6ea4ec0c7ebca38ed8b3e03
parenta29a4566354af53e3bdc4a925eddc0d7af2bf384
mesa: use a prefix for the program lex

This avoids us making a global yylex symbol which will interfere will
all sorts of apps.

with libdricore which can't do symbol visibility currently we pollute
the namespace with this.

This is a candidate for 9.0 & stable branches.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/Makefile.am
src/mesa/program/program_lexer.l