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:
Erik Faye-Lund 2022-06-07 16:35:38 +02:00 committed by Marge Bot
parent ffd26b1c3b
commit e83f13c04e

View File

@ -62,8 +62,8 @@
* - http://cellperformance.beyond3d.com/articles/2006/05/demystifying-the-restrict-keyword.html
*/
#ifndef restrict
# if (__STDC_VERSION__ >= 199901L) && !defined(__cplusplus)
/* C99 */
# ifndef __cplusplus
/* Use C99 restrict keyword */
# elif defined(__GNUC__)
# define restrict __restrict__
# elif defined(_MSC_VER)