mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 05:10:11 +01:00
c99_compat.h: assume c99 support
Reviewed-By: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16908>
This commit is contained in:
parent
ffd26b1c3b
commit
e83f13c04e
1 changed files with 2 additions and 2 deletions
|
|
@ -62,8 +62,8 @@
|
||||||
* - http://cellperformance.beyond3d.com/articles/2006/05/demystifying-the-restrict-keyword.html
|
* - http://cellperformance.beyond3d.com/articles/2006/05/demystifying-the-restrict-keyword.html
|
||||||
*/
|
*/
|
||||||
#ifndef restrict
|
#ifndef restrict
|
||||||
# if (__STDC_VERSION__ >= 199901L) && !defined(__cplusplus)
|
# ifndef __cplusplus
|
||||||
/* C99 */
|
/* Use C99 restrict keyword */
|
||||||
# elif defined(__GNUC__)
|
# elif defined(__GNUC__)
|
||||||
# define restrict __restrict__
|
# define restrict __restrict__
|
||||||
# elif defined(_MSC_VER)
|
# elif defined(_MSC_VER)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue