Update crt headers and mingw lib from mingw64. Update crt a bit. 4 msvcrt time tests...
[reactos.git] / reactos / lib / 3rdparty / mingw / mingw_helpers.c
1 #include "oscalls.h"
2 #include "internal.h"
3 #include <process.h>
4 #include <math.h>
5 #include <stdlib.h>
6 #include <tchar.h>
7 #include <locale.h>
8
9 const PIMAGE_TLS_CALLBACK __dyn_tls_init_callback;
10
11 void * __cdecl
12 _decode_pointer (void *codedptr)
13 {
14 return (void *) codedptr;
15 }
16
17 void * __cdecl
18 _encode_pointer (void *ptr)
19 {
20 return ptr;
21 }
22
23 /* 0:console, 1:windows. */
24 int mingw_app_type = 0;
25