[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:
Timo Kreuzer 2021-07-28 10:25:22 +02:00
parent 0f3d052af9
commit b05cc36208
9 changed files with 28 additions and 189 deletions

View file

@ -24,10 +24,6 @@ extern "C" {
#define _HEAP_MAXREQ 0xFFFFFFE0
#endif
#ifndef _STATIC_ASSERT
#define _STATIC_ASSERT(expr) extern char (*static_assert(void)) [(expr) ? 1 : -1]
#endif
/* Return codes for _heapwalk() */
#define _HEAPEMPTY (-1)
#define _HEAPOK (-2)