1 #pragma once 2 3 #include <stdio.h> 4 #include <conio.h> 5 #include <float.h> 6 #include <locale.h> 7 #include <internal/locale.h> 8 9 #undef NtCurrentPeb 10 #define NtCurrentPeb() (NtCurrentTeb()->Peb) 11 #define GetProcessHeap() (NtCurrentPeb()->ProcessHeap) 12 13 #define HeapAlloc(_Heap, _Flags, _Size) RtlAllocateHeap(_Heap, _Flags, _Size) 14 #define HeapFree(_Heap, _Flags, _Ptr) RtlFreeHeap(_Heap, _Flags, _Ptr) 15 16 #ifdef _LIBCNT_ 17 static inline unsigned int __control87(unsigned int new, unsigned int mask) 18 { 19 return 0; 20 } 21 #define _control87 __control87 22 extern threadlocinfo _LIBCNT_locinfo; 23 #define get_locinfo() (&_LIBCNT_locinfo) 24 #else 25 #define get_locinfo() ((pthreadlocinfo)get_locinfo()) 26 #endif 27 28 void 29 __declspec(noinline) 30 _internal_handle_float( 31 int negative, 32 int exp, 33 int suppress, 34 ULONGLONG d, 35 int l_or_L_prefix, 36 va_list *ap); 37 38 //#include <debug.h> 39 40 #define __WINE_DEBUG_H 41 #undef WINE_DEFAULT_DEBUG_CHANNEL 42 #define WINE_DEFAULT_DEBUG_CHANNEL(_Ch) 43 #undef TRACE 44 #define TRACE(...) /* DPRINT(__VA_ARGS__) */ 45 #define debugstr_a(format) format 46