mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-26 17:12:07 +00: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
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user