[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

@ -114,6 +114,13 @@ extern "C" {
#endif
#if defined(_M_IX86) // newer Windows versions always have it
_CRTIMP int* __cdecl __p__commode(void);
#endif
/* On newer Windows windows versions, (*__p__commode()) is used */
extern _CRTIMP int _commode;
#define _IOREAD 0x0001
#define _IOWRT 0x0002