mesa: Try to unbreak the MSVC build.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 5 Jun 2016 23:31:11 +0000 (16:31 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 5 Jun 2016 23:32:08 +0000 (16:32 -0700)
commitf657a59d986048bb9e7298a49b8b49efcecc77d9
tree082fc5abafb0155a175cf3a0b1bc029cf033ef32
parentc417c0c9c37f6cdea679e12d84cfc2ab51667cf6
mesa: Try to unbreak the MSVC build.

PATH_MAX is apparently not a thing on Windows.  Borrow the hack from
pipe_loader.c to try and make this work.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/arbprogram.c
src/mesa/main/shaderapi.c