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