Skip to content

Use __restrict instead of restrict

James Park requested to merge jpark37/mesa:restrict-keyword into master

Can't safely define a macro to alias restrict as __restrict on Windows because it breaks __declspec(restrict), which LLVM uses. Remove restrict macro, and recommend __restrict instead, which hopefully works on all compilers that Mesa cares about.

Merge request reports