mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:12:58 +00:00
[CRT] Fix CRT headers a bit
* Remove unused internal version of float.h * Define _STATIC_ASSERT in crtdefs.h * Add some missing declarations
This commit is contained in:
parent
0f3d052af9
commit
b05cc36208
9 changed files with 28 additions and 189 deletions
|
@ -182,6 +182,15 @@
|
|||
|
||||
#define __crt_typefix(ctype)
|
||||
|
||||
#ifndef _STATIC_ASSERT
|
||||
#ifdef __cplusplus
|
||||
#define _STATIC_ASSERT(expr) static_assert((expr), #expr)
|
||||
#elif defined(__clang__) || defined(__GNUC__)
|
||||
#define _STATIC_ASSERT(expr) _Static_assert((expr), #expr)
|
||||
#else
|
||||
#define _STATIC_ASSERT(expr) extern char (*__static_assert__(void)) [(expr) ? 1 : -1]
|
||||
#endif
|
||||
#endif /* _STATIC_ASSERT */
|
||||
|
||||
/** Deprecated ***************************************************************/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue