diff options
author | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2022-06-07 16:35:38 +0200 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-06-14 15:08:37 +0000 |
commit | e83f13c04ef6a3be281b324532cd5a133439f1a6 (patch) | |
tree | 4c6d896f427e71a22bf417fc94abbf7bf2684068 | |
parent | ffd26b1c3bfac5b5df00c4621fce7c4799d871a2 (diff) | |
download | mesa-e83f13c04ef6a3be281b324532cd5a133439f1a6.tar.gz mesa-e83f13c04ef6a3be281b324532cd5a133439f1a6.tar.bz2 mesa-e83f13c04ef6a3be281b324532cd5a133439f1a6.zip |
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>
-rw-r--r-- | include/c99_compat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/c99_compat.h b/include/c99_compat.h index ae9e3235c95..83895422226 100644 --- a/include/c99_compat.h +++ b/include/c99_compat.h @@ -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) |