1 /** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the w64 mingw-runtime package. 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package. 5 */ 6 7 #include <oscalls.h> 8 #include <internal.h> 9 #include <process.h> 10 #include <math.h> 11 #include <stdlib.h> 12 #include <tchar.h> 13 #include <sect_attribs.h> 14 #include <locale.h> 15 16 extern const PIMAGE_TLS_CALLBACK __dyn_tls_init_callback; 17 18 void * __cdecl _decode_pointer(void * codedptr)19_decode_pointer (void *codedptr) 20 { 21 return (void *) codedptr; 22 } 23 24 void * __cdecl _encode_pointer(void * ptr)25_encode_pointer (void *ptr) 26 { 27 return ptr; 28 } 29 30 /* 0:console, 1:windows. */ 31 int mingw_app_type = 0; 32