2 ===================================================================
3 --- internal.h (Revision 46537)
4 +++ internal.h (Arbeitskopie)
6 #define __IOINFO_TM_UTF8 1
7 #define __IOINFO_TM_UTF16LE 2
10 +#pragma warning(push)
11 +#pragma warning(disable:4214)
12 +#pragma warning(disable:4820)
26 #define IOINFO_ARRAY_ELTS (1 << 5)
28 #define _pioinfo(i) (__pioinfo[(i) >> 5] + ((i) & (IOINFO_ARRAY_ELTS - 1)))
30 ===================================================================
31 --- oscalls.h (Revision 46537)
32 +++ oscalls.h (Arbeitskopie)
38 +#pragma warning(push)
39 +#pragma warning(disable:4214)
44 unsigned short twosecs : 5;
46 unsigned short year : 7;
53 typedef FDATE *PFDATE;
57 ===================================================================
58 --- sect_attribs.h (Revision 46537)
59 +++ sect_attribs.h (Arbeitskopie)
61 #define _ATTRIBUTES shared
65 +#if defined(_MSC_VER)
66 /* Reference list of existing section for msvcrt. */
67 #pragma section(".CRTMP$XCA",long,_ATTRIBUTES)
68 #pragma section(".CRTMP$XCZ",long,_ATTRIBUTES)
70 #pragma section(".rtc$IZZ",long,read)
71 #pragma section(".rtc$TAA",long,read)
72 #pragma section(".rtc$TZZ",long,read)
73 +#pragma section(".tls",long,read,write)
74 +#pragma section(".tls$ZZZ",long,read,write)
77 +#if defined(_MSC_VER)
78 +#define _CRTALLOC(x) __declspec(allocate(x))
79 +#elif defined(__GNUC__)
80 #define _CRTALLOC(x) __attribute__ ((section (x) ))