On Sat, Nov 23, 2019 at 3:49 AM Brian Paul <bri...@vmware.com> wrote:
> +
> +/* MSVC doesn't have C99's _Pragma() */
> +#ifdef _MSC_VER
> +#define _Pragma(x)
> +#endif

FWIW, MSVC has its own __pragma() extension instead of _Pragma(), but
IIRC the syntax is slightly different (the contents are tokens, not a
string to be tokenized), so supporting both with a common syntax would
probably require some sophisticated preprocessor hoop jumping.

Cheers,
-- 
Giuseppe "Oblomov" Bilotta
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to