[Mesa-dev] [PATCH] glsl / imports.h: fix MSVC build

Aras Pranckevicius aras at unity3d.com
Tue Aug 24 00:41:11 PDT 2010


>
> > Could be; I'm not actually building full Mesa (just the GLSL compiler).
> At
> > least for snprintf, in MSVC it's _snprintf; no idea about others right
> now.
> Hmm, they are used by the new GLSL compiler (src/glsl/).


Indeed, they are used by preprocessor (which I was not building before).

Attached patch adds isspace(), strtoll() for MSVC, and fixes class vs struct
mixage (MSVC really does not like "class" keyword when compiling C code).


-- 
Aras Pranckevičius
work: http://unity3d.com
home: http://aras-p.info
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100824/a8489b86/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glsl-more-preprocessor-build-fixes-for-msvc.patch
Type: application/octet-stream
Size: 2840 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100824/a8489b86/attachment.obj>


More information about the mesa-dev mailing list