VirtualBox

source: vbox/trunk/src/VBox/Additions/3D/mesa/mesa-21.3.8/include/c11_compat.h

最後變更 在這個檔案是 96488,由 vboxsync 提交於 2 年 前

Additions/3D/mesa: Export to OSE and remove symlinks.

  • 屬性 svn:eol-style 設為 native
檔案大小: 483 位元組
 
1/* Copyright 2019 Intel Corporation */
2/* SPDX-License-Identifier: MIT */
3
4#include "no_extern_c.h"
5
6#ifndef _C11_COMPAT_H_
7#define _C11_COMPAT_H_
8
9#if defined(__cplusplus)
10 /* This is C++ code, not C */
11#elif (__STDC_VERSION__ >= 201112L)
12 /* Already C11 */
13#else
14
15
16/*
17 * C11 static_assert() macro
18 * assert.h only defines that name for C11 and above
19 */
20#ifndef static_assert
21#define static_assert _Static_assert
22#endif
23
24
25#endif /* !C++ && !C11 */
26
27#endif /* _C11_COMPAT_H_ */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette