@xnetx/tinyc-native-x86_64-w64-mingw32 0.1.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/natives/x86_64-w64-mingw32/toolchain/x86_64-w64-mingw32/tinyc.exe +0 -0
  2. package/package.json +1 -1
  3. package/sysroot/x86_64-w64-mingw32/include/libtcc.h +125 -116
  4. package/sysroot/x86_64-w64-mingw32/include/tinyc_io.h +131 -123
  5. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/_mingw.h +171 -171
  6. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/arm_neon.h +3585 -0
  7. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/assert.h +62 -62
  8. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx2intrin.h +93 -0
  9. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512bwintrin.h +128 -0
  10. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512cdintrin.h +31 -0
  11. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512dqintrin.h +123 -0
  12. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512fintrin.h +1075 -0
  13. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512vbmiintrin.h +30 -0
  14. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512vlintrin.h +1633 -0
  15. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512vnniintrin.h +33 -0
  16. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avxintrin.h +675 -0
  17. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/conio.h +409 -409
  18. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/ctype.h +281 -281
  19. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/dir.h +31 -31
  20. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/direct.h +68 -68
  21. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/dirent.h +135 -135
  22. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/dos.h +55 -55
  23. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/emmintrin.h +213 -0
  24. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/errno.h +75 -75
  25. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/excpt.h +123 -123
  26. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/f16cintrin.h +29 -0
  27. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/fcntl.h +52 -52
  28. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/fenv.h +108 -108
  29. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/float.h +75 -75
  30. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/fmaintrin.h +141 -0
  31. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/immintrin.h +21 -0
  32. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/inttypes.h +297 -297
  33. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/io.h +418 -418
  34. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/iso646.h +36 -36
  35. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/limits.h +116 -116
  36. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/locale.h +91 -91
  37. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/malloc.h +181 -181
  38. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/math.h +497 -497
  39. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/mem.h +13 -13
  40. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/memory.h +40 -40
  41. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/process.h +176 -176
  42. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/riscv_vector.h +12334 -0
  43. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/conio_s.h +42 -42
  44. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/crtdbg_s.h +19 -19
  45. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/io_s.h +33 -33
  46. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/mbstring_s.h +52 -52
  47. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/search_s.h +25 -25
  48. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/stdio_s.h +145 -145
  49. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/stdlib_s.h +67 -67
  50. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/stralign_s.h +30 -30
  51. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/string_s.h +41 -41
  52. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/sys/timeb_s.h +34 -34
  53. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/tchar_s.h +266 -266
  54. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/time_s.h +61 -61
  55. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/wchar_s.h +128 -128
  56. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/setjmp.h +199 -199
  57. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/share.h +28 -28
  58. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/signal.h +63 -63
  59. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/smmintrin.h +74 -0
  60. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdalign.h +16 -16
  61. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdarg.h +14 -14
  62. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdatomic.h +171 -171
  63. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdbool.h +11 -11
  64. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stddef.h +39 -39
  65. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdint.h +212 -212
  66. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdio.h +429 -429
  67. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdlib.h +606 -606
  68. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdnoreturn.h +7 -7
  69. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/string.h +164 -164
  70. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/fcntl.h +13 -13
  71. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/file.h +14 -14
  72. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/locking.h +30 -30
  73. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/stat.h +290 -290
  74. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/time.h +69 -69
  75. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/timeb.h +133 -133
  76. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/types.h +123 -123
  77. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/unistd.h +14 -14
  78. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/utime.h +146 -146
  79. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tcc/tcc_libm.h +618 -618
  80. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tccdefs.h +338 -338
  81. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tcclib.h +82 -82
  82. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tchar.h +1102 -1102
  83. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tgmath.h +89 -89
  84. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/time.h +287 -287
  85. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tmmintrin.h +19 -0
  86. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/uchar.h +33 -33
  87. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/unistd.h +1 -1
  88. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/vadefs.h +11 -11
  89. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/values.h +4 -4
  90. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/varargs.h +12 -12
  91. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/wchar.h +873 -873
  92. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/wctype.h +172 -172
  93. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/basetsd.h +149 -149
  94. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/basetyps.h +85 -85
  95. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/guiddef.h +156 -156
  96. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/poppack.h +8 -8
  97. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/pshpack1.h +8 -8
  98. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/pshpack2.h +8 -8
  99. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/pshpack4.h +8 -8
  100. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/pshpack8.h +8 -8
  101. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/qos.h +72 -72
  102. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/shellapi.h +59 -59
  103. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winbase.h +2966 -2966
  104. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/wincon.h +309 -309
  105. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/windef.h +293 -293
  106. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/windows.h +127 -127
  107. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winerror.h +3166 -3166
  108. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/wingdi.h +4080 -4080
  109. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winnls.h +778 -778
  110. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winnt.h +5994 -5994
  111. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winreg.h +272 -272
  112. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winsock2.h +1474 -1474
  113. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winuser.h +5652 -5652
  114. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winver.h +160 -160
  115. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/ws2ipdef.h +21 -21
  116. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/ws2tcpip.h +391 -391
  117. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/xmmintrin.h +170 -0
  118. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/gdi32.def +337 -337
  119. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/kernel32.def +776 -776
  120. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/libtcc1.a +0 -0
  121. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/msvcrt.def +1320 -1320
  122. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/runmain.o +0 -0
  123. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/user32.def +658 -658
  124. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/ws2_32.def +198 -198
  125. package/sysroot/x86_64-w64-mingw32/manifest.json +1 -1
@@ -1,281 +1,281 @@
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 within this package.
5
- */
6
- #ifndef _INC_CTYPE
7
- #define _INC_CTYPE
8
-
9
- #include <_mingw.h>
10
-
11
- #ifdef __cplusplus
12
- extern "C" {
13
- #endif
14
-
15
- #ifndef WEOF
16
- #define WEOF (wint_t)(0xFFFF)
17
- #endif
18
-
19
- #ifndef _CRT_CTYPEDATA_DEFINED
20
- #define _CRT_CTYPEDATA_DEFINED
21
- #ifndef _CTYPE_DISABLE_MACROS
22
-
23
- #ifndef __PCTYPE_FUNC
24
- #define __PCTYPE_FUNC __pctype_func()
25
- #ifdef _MSVCRT_
26
- #define __pctype_func() (_pctype)
27
- #else
28
- #define __pctype_func() (*_imp___pctype)
29
- #endif
30
- #endif
31
-
32
- #ifndef _pctype
33
- #ifdef _MSVCRT_
34
- extern unsigned short *_pctype;
35
- #else
36
- extern unsigned short **_imp___pctype;
37
- #define _pctype (*_imp___pctype)
38
- #endif
39
- #endif
40
-
41
- #endif
42
- #endif
43
-
44
- #ifndef _CRT_WCTYPEDATA_DEFINED
45
- #define _CRT_WCTYPEDATA_DEFINED
46
- #ifndef _CTYPE_DISABLE_MACROS
47
- #ifndef _wctype
48
- #ifdef _MSVCRT_
49
- extern unsigned short *_wctype;
50
- #else
51
- extern unsigned short **_imp___wctype;
52
- #define _wctype (*_imp___wctype)
53
- #endif
54
- #endif
55
- #ifdef _MSVCRT_
56
- #define __pwctype_func() (_pwctype)
57
- #ifndef _pwctype
58
- extern unsigned short *_pwctype;
59
- #endif
60
- #else
61
- #define __pwctype_func() (*_imp___pwctype)
62
- #ifndef _pwctype
63
- extern unsigned short **_imp___pwctype;
64
- #define _pwctype (*_imp___pwctype)
65
- #endif
66
- #endif
67
- #endif
68
- #endif
69
-
70
- /* CRT stuff */
71
- #if 1
72
- extern const unsigned char __newclmap[];
73
- extern const unsigned char __newcumap[];
74
- extern pthreadlocinfo __ptlocinfo;
75
- extern pthreadmbcinfo __ptmbcinfo;
76
- extern int __globallocalestatus;
77
- extern int __locale_changed;
78
- extern struct threadlocaleinfostruct __initiallocinfo;
79
- extern _locale_tstruct __initiallocalestructinfo;
80
- pthreadlocinfo __cdecl __updatetlocinfo(void);
81
- pthreadmbcinfo __cdecl __updatetmbcinfo(void);
82
- #endif
83
-
84
- #define _UPPER 0x1
85
- #define _LOWER 0x2
86
- #define _DIGIT 0x4
87
- #define _SPACE 0x8
88
-
89
- #define _PUNCT 0x10
90
- #define _CONTROL 0x20
91
- #define _BLANK 0x40
92
- #define _HEX 0x80
93
-
94
- #define _LEADBYTE 0x8000
95
- #define _ALPHA (0x0100|_UPPER|_LOWER)
96
-
97
- #ifndef _CTYPE_DEFINED
98
- #define _CTYPE_DEFINED
99
-
100
- _CRTIMP int __cdecl _isctype(int _C,int _Type);
101
- _CRTIMP int __cdecl _isctype_l(int _C,int _Type,_locale_t _Locale);
102
- _CRTIMP int __cdecl isalpha(int _C);
103
- _CRTIMP int __cdecl _isalpha_l(int _C,_locale_t _Locale);
104
- _CRTIMP int __cdecl isupper(int _C);
105
- _CRTIMP int __cdecl _isupper_l(int _C,_locale_t _Locale);
106
- _CRTIMP int __cdecl islower(int _C);
107
- _CRTIMP int __cdecl _islower_l(int _C,_locale_t _Locale);
108
- _CRTIMP int __cdecl isdigit(int _C);
109
- _CRTIMP int __cdecl _isdigit_l(int _C,_locale_t _Locale);
110
- _CRTIMP int __cdecl isxdigit(int _C);
111
- _CRTIMP int __cdecl _isxdigit_l(int _C,_locale_t _Locale);
112
- _CRTIMP int __cdecl isspace(int _C);
113
- _CRTIMP int __cdecl _isspace_l(int _C,_locale_t _Locale);
114
- _CRTIMP int __cdecl ispunct(int _C);
115
- _CRTIMP int __cdecl _ispunct_l(int _C,_locale_t _Locale);
116
- _CRTIMP int __cdecl isalnum(int _C);
117
- _CRTIMP int __cdecl _isalnum_l(int _C,_locale_t _Locale);
118
- _CRTIMP int __cdecl isprint(int _C);
119
- _CRTIMP int __cdecl _isprint_l(int _C,_locale_t _Locale);
120
- _CRTIMP int __cdecl isgraph(int _C);
121
- _CRTIMP int __cdecl _isgraph_l(int _C,_locale_t _Locale);
122
- _CRTIMP int __cdecl iscntrl(int _C);
123
- _CRTIMP int __cdecl _iscntrl_l(int _C,_locale_t _Locale);
124
- _CRTIMP int __cdecl toupper(int _C);
125
- _CRTIMP int __cdecl tolower(int _C);
126
- _CRTIMP int __cdecl _tolower(int _C);
127
- _CRTIMP int __cdecl _tolower_l(int _C,_locale_t _Locale);
128
- _CRTIMP int __cdecl _toupper(int _C);
129
- _CRTIMP int __cdecl _toupper_l(int _C,_locale_t _Locale);
130
- _CRTIMP int __cdecl __isascii(int _C);
131
- _CRTIMP int __cdecl __toascii(int _C);
132
- _CRTIMP int __cdecl __iscsymf(int _C);
133
- _CRTIMP int __cdecl __iscsym(int _C);
134
-
135
- #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || !defined (NO_OLDNAMES)
136
- int __cdecl isblank(int _C);
137
- #endif
138
- #endif
139
-
140
- #ifndef _WCTYPE_DEFINED
141
- #define _WCTYPE_DEFINED
142
-
143
- int __cdecl iswalpha(wint_t _C);
144
- _CRTIMP int __cdecl _iswalpha_l(wint_t _C,_locale_t _Locale);
145
- int __cdecl iswupper(wint_t _C);
146
- _CRTIMP int __cdecl _iswupper_l(wint_t _C,_locale_t _Locale);
147
- int __cdecl iswlower(wint_t _C);
148
- _CRTIMP int __cdecl _iswlower_l(wint_t _C,_locale_t _Locale);
149
- int __cdecl iswdigit(wint_t _C);
150
- _CRTIMP int __cdecl _iswdigit_l(wint_t _C,_locale_t _Locale);
151
- int __cdecl iswxdigit(wint_t _C);
152
- _CRTIMP int __cdecl _iswxdigit_l(wint_t _C,_locale_t _Locale);
153
- int __cdecl iswspace(wint_t _C);
154
- _CRTIMP int __cdecl _iswspace_l(wint_t _C,_locale_t _Locale);
155
- int __cdecl iswpunct(wint_t _C);
156
- _CRTIMP int __cdecl _iswpunct_l(wint_t _C,_locale_t _Locale);
157
- int __cdecl iswalnum(wint_t _C);
158
- _CRTIMP int __cdecl _iswalnum_l(wint_t _C,_locale_t _Locale);
159
- int __cdecl iswprint(wint_t _C);
160
- _CRTIMP int __cdecl _iswprint_l(wint_t _C,_locale_t _Locale);
161
- int __cdecl iswgraph(wint_t _C);
162
- _CRTIMP int __cdecl _iswgraph_l(wint_t _C,_locale_t _Locale);
163
- int __cdecl iswcntrl(wint_t _C);
164
- _CRTIMP int __cdecl _iswcntrl_l(wint_t _C,_locale_t _Locale);
165
- int __cdecl iswascii(wint_t _C);
166
- int __cdecl isleadbyte(int _C);
167
- _CRTIMP int __cdecl _isleadbyte_l(int _C,_locale_t _Locale);
168
- wint_t __cdecl towupper(wint_t _C);
169
- _CRTIMP wint_t __cdecl _towupper_l(wint_t _C,_locale_t _Locale);
170
- wint_t __cdecl towlower(wint_t _C);
171
- _CRTIMP wint_t __cdecl _towlower_l(wint_t _C,_locale_t _Locale);
172
- int __cdecl iswctype(wint_t _C,wctype_t _Type);
173
- _CRTIMP int __cdecl _iswctype_l(wint_t _C,wctype_t _Type,_locale_t _Locale);
174
- _CRTIMP int __cdecl __iswcsymf(wint_t _C);
175
- _CRTIMP int __cdecl _iswcsymf_l(wint_t _C,_locale_t _Locale);
176
- _CRTIMP int __cdecl __iswcsym(wint_t _C);
177
- _CRTIMP int __cdecl _iswcsym_l(wint_t _C,_locale_t _Locale);
178
- int __cdecl is_wctype(wint_t _C,wctype_t _Type);
179
-
180
- #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || !defined (NO_OLDNAMES)
181
- int __cdecl iswblank(wint_t _C);
182
- #endif
183
- #endif
184
-
185
- #ifndef _CTYPE_DISABLE_MACROS
186
-
187
- #ifndef MB_CUR_MAX
188
- #define MB_CUR_MAX ___mb_cur_max_func()
189
- #ifndef __mb_cur_max
190
- #ifdef _MSVCRT_
191
- extern int __mb_cur_max;
192
- #else
193
- #define __mb_cur_max (*_imp____mb_cur_max)
194
- extern int *_imp____mb_cur_max;
195
- #endif
196
- #endif
197
- #ifdef _MSVCRT_
198
- #define ___mb_cur_max_func() (__mb_cur_max)
199
- #else
200
- #define ___mb_cur_max_func() (*_imp____mb_cur_max)
201
- #endif
202
- #endif
203
-
204
- #define __chvalidchk(a,b) (__PCTYPE_FUNC[(a)] & (b))
205
- #define _chvalidchk_l(_Char,_Flag,_Locale) (!_Locale ? __chvalidchk(_Char,_Flag) : ((_locale_t)_Locale)->locinfo->pctype[_Char] & (_Flag))
206
- #define _ischartype_l(_Char,_Flag,_Locale) (((_Locale)!=NULL && (((_locale_t)(_Locale))->locinfo->mb_cur_max) > 1) ? _isctype_l(_Char,(_Flag),_Locale) : _chvalidchk_l(_Char,_Flag,_Locale))
207
- #define _isalpha_l(_Char,_Locale) _ischartype_l(_Char,_ALPHA,_Locale)
208
- #define _isupper_l(_Char,_Locale) _ischartype_l(_Char,_UPPER,_Locale)
209
- #define _islower_l(_Char,_Locale) _ischartype_l(_Char,_LOWER,_Locale)
210
- #define _isdigit_l(_Char,_Locale) _ischartype_l(_Char,_DIGIT,_Locale)
211
- #define _isxdigit_l(_Char,_Locale) _ischartype_l(_Char,_HEX,_Locale)
212
- #define _isspace_l(_Char,_Locale) _ischartype_l(_Char,_SPACE,_Locale)
213
- #define _ispunct_l(_Char,_Locale) _ischartype_l(_Char,_PUNCT,_Locale)
214
- #define _isalnum_l(_Char,_Locale) _ischartype_l(_Char,_ALPHA|_DIGIT,_Locale)
215
- #define _isprint_l(_Char,_Locale) _ischartype_l(_Char,_BLANK|_PUNCT|_ALPHA|_DIGIT,_Locale)
216
- #define _isgraph_l(_Char,_Locale) _ischartype_l(_Char,_PUNCT|_ALPHA|_DIGIT,_Locale)
217
- #define _iscntrl_l(_Char,_Locale) _ischartype_l(_Char,_CONTROL,_Locale)
218
- #define _tolower(_Char) ((_Char)-'A'+'a')
219
- #define _toupper(_Char) ((_Char)-'a'+'A')
220
- #define __isascii(_Char) ((unsigned)(_Char) < 0x80)
221
- #define __toascii(_Char) ((_Char) & 0x7f)
222
-
223
- #ifndef _WCTYPE_INLINE_DEFINED
224
- #define _WCTYPE_INLINE_DEFINED
225
-
226
- #undef _CRT_WCTYPE_NOINLINE
227
- #ifndef __cplusplus
228
- #define iswalpha(_c) (iswctype(_c,_ALPHA))
229
- #define iswupper(_c) (iswctype(_c,_UPPER))
230
- #define iswlower(_c) (iswctype(_c,_LOWER))
231
- #define iswdigit(_c) (iswctype(_c,_DIGIT))
232
- #define iswxdigit(_c) (iswctype(_c,_HEX))
233
- #define iswspace(_c) (iswctype(_c,_SPACE))
234
- #define iswpunct(_c) (iswctype(_c,_PUNCT))
235
- #define iswalnum(_c) (iswctype(_c,_ALPHA|_DIGIT))
236
- #define iswprint(_c) (iswctype(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT))
237
- #define iswgraph(_c) (iswctype(_c,_PUNCT|_ALPHA|_DIGIT))
238
- #define iswcntrl(_c) (iswctype(_c,_CONTROL))
239
- #define iswascii(_c) ((unsigned)(_c) < 0x80)
240
- #define _iswalpha_l(_c,_p) (_iswctype_l(_c,_ALPHA,_p))
241
- #define _iswupper_l(_c,_p) (_iswctype_l(_c,_UPPER,_p))
242
- #define _iswlower_l(_c,_p) (_iswctype_l(_c,_LOWER,_p))
243
- #define _iswdigit_l(_c,_p) (_iswctype_l(_c,_DIGIT,_p))
244
- #define _iswxdigit_l(_c,_p) (_iswctype_l(_c,_HEX,_p))
245
- #define _iswspace_l(_c,_p) (_iswctype_l(_c,_SPACE,_p))
246
- #define _iswpunct_l(_c,_p) (_iswctype_l(_c,_PUNCT,_p))
247
- #define _iswalnum_l(_c,_p) (_iswctype_l(_c,_ALPHA|_DIGIT,_p))
248
- #define _iswprint_l(_c,_p) (_iswctype_l(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT,_p))
249
- #define _iswgraph_l(_c,_p) (_iswctype_l(_c,_PUNCT|_ALPHA|_DIGIT,_p))
250
- #define _iswcntrl_l(_c,_p) (_iswctype_l(_c,_CONTROL,_p))
251
- #endif
252
- #endif
253
-
254
- #define __iscsymf(_c) (isalpha(_c) || ((_c)=='_'))
255
- #define __iscsym(_c) (isalnum(_c) || ((_c)=='_'))
256
- #define __iswcsymf(_c) (iswalpha(_c) || ((_c)=='_'))
257
- #define __iswcsym(_c) (iswalnum(_c) || ((_c)=='_'))
258
- #define _iscsymf_l(_c,_p) (_isalpha_l(_c,_p) || ((_c)=='_'))
259
- #define _iscsym_l(_c,_p) (_isalnum_l(_c,_p) || ((_c)=='_'))
260
- #define _iswcsymf_l(_c,_p) (_iswalpha_l(_c,_p) || ((_c)=='_'))
261
- #define _iswcsym_l(_c,_p) (_iswalnum_l(_c,_p) || ((_c)=='_'))
262
- #endif
263
-
264
- #ifndef NO_OLDNAMES
265
- #ifndef _CTYPE_DEFINED
266
- int __cdecl isascii(int _C);
267
- int __cdecl toascii(int _C);
268
- int __cdecl iscsymf(int _C);
269
- int __cdecl iscsym(int _C);
270
- #else
271
- #define isascii __isascii
272
- #define toascii __toascii
273
- #define iscsymf __iscsymf
274
- #define iscsym __iscsym
275
- #endif
276
- #endif
277
-
278
- #ifdef __cplusplus
279
- }
280
- #endif
281
- #endif
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 within this package.
5
+ */
6
+ #ifndef _INC_CTYPE
7
+ #define _INC_CTYPE
8
+
9
+ #include <_mingw.h>
10
+
11
+ #ifdef __cplusplus
12
+ extern "C" {
13
+ #endif
14
+
15
+ #ifndef WEOF
16
+ #define WEOF (wint_t)(0xFFFF)
17
+ #endif
18
+
19
+ #ifndef _CRT_CTYPEDATA_DEFINED
20
+ #define _CRT_CTYPEDATA_DEFINED
21
+ #ifndef _CTYPE_DISABLE_MACROS
22
+
23
+ #ifndef __PCTYPE_FUNC
24
+ #define __PCTYPE_FUNC __pctype_func()
25
+ #ifdef _MSVCRT_
26
+ #define __pctype_func() (_pctype)
27
+ #else
28
+ #define __pctype_func() (*_imp___pctype)
29
+ #endif
30
+ #endif
31
+
32
+ #ifndef _pctype
33
+ #ifdef _MSVCRT_
34
+ extern unsigned short *_pctype;
35
+ #else
36
+ extern unsigned short **_imp___pctype;
37
+ #define _pctype (*_imp___pctype)
38
+ #endif
39
+ #endif
40
+
41
+ #endif
42
+ #endif
43
+
44
+ #ifndef _CRT_WCTYPEDATA_DEFINED
45
+ #define _CRT_WCTYPEDATA_DEFINED
46
+ #ifndef _CTYPE_DISABLE_MACROS
47
+ #ifndef _wctype
48
+ #ifdef _MSVCRT_
49
+ extern unsigned short *_wctype;
50
+ #else
51
+ extern unsigned short **_imp___wctype;
52
+ #define _wctype (*_imp___wctype)
53
+ #endif
54
+ #endif
55
+ #ifdef _MSVCRT_
56
+ #define __pwctype_func() (_pwctype)
57
+ #ifndef _pwctype
58
+ extern unsigned short *_pwctype;
59
+ #endif
60
+ #else
61
+ #define __pwctype_func() (*_imp___pwctype)
62
+ #ifndef _pwctype
63
+ extern unsigned short **_imp___pwctype;
64
+ #define _pwctype (*_imp___pwctype)
65
+ #endif
66
+ #endif
67
+ #endif
68
+ #endif
69
+
70
+ /* CRT stuff */
71
+ #if 1
72
+ extern const unsigned char __newclmap[];
73
+ extern const unsigned char __newcumap[];
74
+ extern pthreadlocinfo __ptlocinfo;
75
+ extern pthreadmbcinfo __ptmbcinfo;
76
+ extern int __globallocalestatus;
77
+ extern int __locale_changed;
78
+ extern struct threadlocaleinfostruct __initiallocinfo;
79
+ extern _locale_tstruct __initiallocalestructinfo;
80
+ pthreadlocinfo __cdecl __updatetlocinfo(void);
81
+ pthreadmbcinfo __cdecl __updatetmbcinfo(void);
82
+ #endif
83
+
84
+ #define _UPPER 0x1
85
+ #define _LOWER 0x2
86
+ #define _DIGIT 0x4
87
+ #define _SPACE 0x8
88
+
89
+ #define _PUNCT 0x10
90
+ #define _CONTROL 0x20
91
+ #define _BLANK 0x40
92
+ #define _HEX 0x80
93
+
94
+ #define _LEADBYTE 0x8000
95
+ #define _ALPHA (0x0100|_UPPER|_LOWER)
96
+
97
+ #ifndef _CTYPE_DEFINED
98
+ #define _CTYPE_DEFINED
99
+
100
+ _CRTIMP int __cdecl _isctype(int _C,int _Type);
101
+ _CRTIMP int __cdecl _isctype_l(int _C,int _Type,_locale_t _Locale);
102
+ _CRTIMP int __cdecl isalpha(int _C);
103
+ _CRTIMP int __cdecl _isalpha_l(int _C,_locale_t _Locale);
104
+ _CRTIMP int __cdecl isupper(int _C);
105
+ _CRTIMP int __cdecl _isupper_l(int _C,_locale_t _Locale);
106
+ _CRTIMP int __cdecl islower(int _C);
107
+ _CRTIMP int __cdecl _islower_l(int _C,_locale_t _Locale);
108
+ _CRTIMP int __cdecl isdigit(int _C);
109
+ _CRTIMP int __cdecl _isdigit_l(int _C,_locale_t _Locale);
110
+ _CRTIMP int __cdecl isxdigit(int _C);
111
+ _CRTIMP int __cdecl _isxdigit_l(int _C,_locale_t _Locale);
112
+ _CRTIMP int __cdecl isspace(int _C);
113
+ _CRTIMP int __cdecl _isspace_l(int _C,_locale_t _Locale);
114
+ _CRTIMP int __cdecl ispunct(int _C);
115
+ _CRTIMP int __cdecl _ispunct_l(int _C,_locale_t _Locale);
116
+ _CRTIMP int __cdecl isalnum(int _C);
117
+ _CRTIMP int __cdecl _isalnum_l(int _C,_locale_t _Locale);
118
+ _CRTIMP int __cdecl isprint(int _C);
119
+ _CRTIMP int __cdecl _isprint_l(int _C,_locale_t _Locale);
120
+ _CRTIMP int __cdecl isgraph(int _C);
121
+ _CRTIMP int __cdecl _isgraph_l(int _C,_locale_t _Locale);
122
+ _CRTIMP int __cdecl iscntrl(int _C);
123
+ _CRTIMP int __cdecl _iscntrl_l(int _C,_locale_t _Locale);
124
+ _CRTIMP int __cdecl toupper(int _C);
125
+ _CRTIMP int __cdecl tolower(int _C);
126
+ _CRTIMP int __cdecl _tolower(int _C);
127
+ _CRTIMP int __cdecl _tolower_l(int _C,_locale_t _Locale);
128
+ _CRTIMP int __cdecl _toupper(int _C);
129
+ _CRTIMP int __cdecl _toupper_l(int _C,_locale_t _Locale);
130
+ _CRTIMP int __cdecl __isascii(int _C);
131
+ _CRTIMP int __cdecl __toascii(int _C);
132
+ _CRTIMP int __cdecl __iscsymf(int _C);
133
+ _CRTIMP int __cdecl __iscsym(int _C);
134
+
135
+ #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || !defined (NO_OLDNAMES)
136
+ int __cdecl isblank(int _C);
137
+ #endif
138
+ #endif
139
+
140
+ #ifndef _WCTYPE_DEFINED
141
+ #define _WCTYPE_DEFINED
142
+
143
+ int __cdecl iswalpha(wint_t _C);
144
+ _CRTIMP int __cdecl _iswalpha_l(wint_t _C,_locale_t _Locale);
145
+ int __cdecl iswupper(wint_t _C);
146
+ _CRTIMP int __cdecl _iswupper_l(wint_t _C,_locale_t _Locale);
147
+ int __cdecl iswlower(wint_t _C);
148
+ _CRTIMP int __cdecl _iswlower_l(wint_t _C,_locale_t _Locale);
149
+ int __cdecl iswdigit(wint_t _C);
150
+ _CRTIMP int __cdecl _iswdigit_l(wint_t _C,_locale_t _Locale);
151
+ int __cdecl iswxdigit(wint_t _C);
152
+ _CRTIMP int __cdecl _iswxdigit_l(wint_t _C,_locale_t _Locale);
153
+ int __cdecl iswspace(wint_t _C);
154
+ _CRTIMP int __cdecl _iswspace_l(wint_t _C,_locale_t _Locale);
155
+ int __cdecl iswpunct(wint_t _C);
156
+ _CRTIMP int __cdecl _iswpunct_l(wint_t _C,_locale_t _Locale);
157
+ int __cdecl iswalnum(wint_t _C);
158
+ _CRTIMP int __cdecl _iswalnum_l(wint_t _C,_locale_t _Locale);
159
+ int __cdecl iswprint(wint_t _C);
160
+ _CRTIMP int __cdecl _iswprint_l(wint_t _C,_locale_t _Locale);
161
+ int __cdecl iswgraph(wint_t _C);
162
+ _CRTIMP int __cdecl _iswgraph_l(wint_t _C,_locale_t _Locale);
163
+ int __cdecl iswcntrl(wint_t _C);
164
+ _CRTIMP int __cdecl _iswcntrl_l(wint_t _C,_locale_t _Locale);
165
+ int __cdecl iswascii(wint_t _C);
166
+ int __cdecl isleadbyte(int _C);
167
+ _CRTIMP int __cdecl _isleadbyte_l(int _C,_locale_t _Locale);
168
+ wint_t __cdecl towupper(wint_t _C);
169
+ _CRTIMP wint_t __cdecl _towupper_l(wint_t _C,_locale_t _Locale);
170
+ wint_t __cdecl towlower(wint_t _C);
171
+ _CRTIMP wint_t __cdecl _towlower_l(wint_t _C,_locale_t _Locale);
172
+ int __cdecl iswctype(wint_t _C,wctype_t _Type);
173
+ _CRTIMP int __cdecl _iswctype_l(wint_t _C,wctype_t _Type,_locale_t _Locale);
174
+ _CRTIMP int __cdecl __iswcsymf(wint_t _C);
175
+ _CRTIMP int __cdecl _iswcsymf_l(wint_t _C,_locale_t _Locale);
176
+ _CRTIMP int __cdecl __iswcsym(wint_t _C);
177
+ _CRTIMP int __cdecl _iswcsym_l(wint_t _C,_locale_t _Locale);
178
+ int __cdecl is_wctype(wint_t _C,wctype_t _Type);
179
+
180
+ #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || !defined (NO_OLDNAMES)
181
+ int __cdecl iswblank(wint_t _C);
182
+ #endif
183
+ #endif
184
+
185
+ #ifndef _CTYPE_DISABLE_MACROS
186
+
187
+ #ifndef MB_CUR_MAX
188
+ #define MB_CUR_MAX ___mb_cur_max_func()
189
+ #ifndef __mb_cur_max
190
+ #ifdef _MSVCRT_
191
+ extern int __mb_cur_max;
192
+ #else
193
+ #define __mb_cur_max (*_imp____mb_cur_max)
194
+ extern int *_imp____mb_cur_max;
195
+ #endif
196
+ #endif
197
+ #ifdef _MSVCRT_
198
+ #define ___mb_cur_max_func() (__mb_cur_max)
199
+ #else
200
+ #define ___mb_cur_max_func() (*_imp____mb_cur_max)
201
+ #endif
202
+ #endif
203
+
204
+ #define __chvalidchk(a,b) (__PCTYPE_FUNC[(a)] & (b))
205
+ #define _chvalidchk_l(_Char,_Flag,_Locale) (!_Locale ? __chvalidchk(_Char,_Flag) : ((_locale_t)_Locale)->locinfo->pctype[_Char] & (_Flag))
206
+ #define _ischartype_l(_Char,_Flag,_Locale) (((_Locale)!=NULL && (((_locale_t)(_Locale))->locinfo->mb_cur_max) > 1) ? _isctype_l(_Char,(_Flag),_Locale) : _chvalidchk_l(_Char,_Flag,_Locale))
207
+ #define _isalpha_l(_Char,_Locale) _ischartype_l(_Char,_ALPHA,_Locale)
208
+ #define _isupper_l(_Char,_Locale) _ischartype_l(_Char,_UPPER,_Locale)
209
+ #define _islower_l(_Char,_Locale) _ischartype_l(_Char,_LOWER,_Locale)
210
+ #define _isdigit_l(_Char,_Locale) _ischartype_l(_Char,_DIGIT,_Locale)
211
+ #define _isxdigit_l(_Char,_Locale) _ischartype_l(_Char,_HEX,_Locale)
212
+ #define _isspace_l(_Char,_Locale) _ischartype_l(_Char,_SPACE,_Locale)
213
+ #define _ispunct_l(_Char,_Locale) _ischartype_l(_Char,_PUNCT,_Locale)
214
+ #define _isalnum_l(_Char,_Locale) _ischartype_l(_Char,_ALPHA|_DIGIT,_Locale)
215
+ #define _isprint_l(_Char,_Locale) _ischartype_l(_Char,_BLANK|_PUNCT|_ALPHA|_DIGIT,_Locale)
216
+ #define _isgraph_l(_Char,_Locale) _ischartype_l(_Char,_PUNCT|_ALPHA|_DIGIT,_Locale)
217
+ #define _iscntrl_l(_Char,_Locale) _ischartype_l(_Char,_CONTROL,_Locale)
218
+ #define _tolower(_Char) ((_Char)-'A'+'a')
219
+ #define _toupper(_Char) ((_Char)-'a'+'A')
220
+ #define __isascii(_Char) ((unsigned)(_Char) < 0x80)
221
+ #define __toascii(_Char) ((_Char) & 0x7f)
222
+
223
+ #ifndef _WCTYPE_INLINE_DEFINED
224
+ #define _WCTYPE_INLINE_DEFINED
225
+
226
+ #undef _CRT_WCTYPE_NOINLINE
227
+ #ifndef __cplusplus
228
+ #define iswalpha(_c) (iswctype(_c,_ALPHA))
229
+ #define iswupper(_c) (iswctype(_c,_UPPER))
230
+ #define iswlower(_c) (iswctype(_c,_LOWER))
231
+ #define iswdigit(_c) (iswctype(_c,_DIGIT))
232
+ #define iswxdigit(_c) (iswctype(_c,_HEX))
233
+ #define iswspace(_c) (iswctype(_c,_SPACE))
234
+ #define iswpunct(_c) (iswctype(_c,_PUNCT))
235
+ #define iswalnum(_c) (iswctype(_c,_ALPHA|_DIGIT))
236
+ #define iswprint(_c) (iswctype(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT))
237
+ #define iswgraph(_c) (iswctype(_c,_PUNCT|_ALPHA|_DIGIT))
238
+ #define iswcntrl(_c) (iswctype(_c,_CONTROL))
239
+ #define iswascii(_c) ((unsigned)(_c) < 0x80)
240
+ #define _iswalpha_l(_c,_p) (_iswctype_l(_c,_ALPHA,_p))
241
+ #define _iswupper_l(_c,_p) (_iswctype_l(_c,_UPPER,_p))
242
+ #define _iswlower_l(_c,_p) (_iswctype_l(_c,_LOWER,_p))
243
+ #define _iswdigit_l(_c,_p) (_iswctype_l(_c,_DIGIT,_p))
244
+ #define _iswxdigit_l(_c,_p) (_iswctype_l(_c,_HEX,_p))
245
+ #define _iswspace_l(_c,_p) (_iswctype_l(_c,_SPACE,_p))
246
+ #define _iswpunct_l(_c,_p) (_iswctype_l(_c,_PUNCT,_p))
247
+ #define _iswalnum_l(_c,_p) (_iswctype_l(_c,_ALPHA|_DIGIT,_p))
248
+ #define _iswprint_l(_c,_p) (_iswctype_l(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT,_p))
249
+ #define _iswgraph_l(_c,_p) (_iswctype_l(_c,_PUNCT|_ALPHA|_DIGIT,_p))
250
+ #define _iswcntrl_l(_c,_p) (_iswctype_l(_c,_CONTROL,_p))
251
+ #endif
252
+ #endif
253
+
254
+ #define __iscsymf(_c) (isalpha(_c) || ((_c)=='_'))
255
+ #define __iscsym(_c) (isalnum(_c) || ((_c)=='_'))
256
+ #define __iswcsymf(_c) (iswalpha(_c) || ((_c)=='_'))
257
+ #define __iswcsym(_c) (iswalnum(_c) || ((_c)=='_'))
258
+ #define _iscsymf_l(_c,_p) (_isalpha_l(_c,_p) || ((_c)=='_'))
259
+ #define _iscsym_l(_c,_p) (_isalnum_l(_c,_p) || ((_c)=='_'))
260
+ #define _iswcsymf_l(_c,_p) (_iswalpha_l(_c,_p) || ((_c)=='_'))
261
+ #define _iswcsym_l(_c,_p) (_iswalnum_l(_c,_p) || ((_c)=='_'))
262
+ #endif
263
+
264
+ #ifndef NO_OLDNAMES
265
+ #ifndef _CTYPE_DEFINED
266
+ int __cdecl isascii(int _C);
267
+ int __cdecl toascii(int _C);
268
+ int __cdecl iscsymf(int _C);
269
+ int __cdecl iscsym(int _C);
270
+ #else
271
+ #define isascii __isascii
272
+ #define toascii __toascii
273
+ #define iscsymf __iscsymf
274
+ #define iscsym __iscsym
275
+ #endif
276
+ #endif
277
+
278
+ #ifdef __cplusplus
279
+ }
280
+ #endif
281
+ #endif
@@ -1,31 +1,31 @@
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 within this package.
5
- */
6
- /*
7
- * dir.h
8
- *
9
- * This file OBSOLESCENT and only provided for backward compatibility.
10
- * Please use io.h instead.
11
- *
12
- * This file is part of the Mingw32 package.
13
- *
14
- * Contributors:
15
- * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
16
- * Mumit Khan <khan@xraylith.wisc.edu>
17
- *
18
- * THIS SOFTWARE IS NOT COPYRIGHTED
19
- *
20
- * This source code is offered for use in the public domain. You may
21
- * use, modify or distribute it freely.
22
- *
23
- * This code is distributed in the hope that it will be useful but
24
- * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
25
- * DISCLAIMED. This includes but is not limited to warranties of
26
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
27
- *
28
- */
29
-
30
- #include <io.h>
31
-
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 within this package.
5
+ */
6
+ /*
7
+ * dir.h
8
+ *
9
+ * This file OBSOLESCENT and only provided for backward compatibility.
10
+ * Please use io.h instead.
11
+ *
12
+ * This file is part of the Mingw32 package.
13
+ *
14
+ * Contributors:
15
+ * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
16
+ * Mumit Khan <khan@xraylith.wisc.edu>
17
+ *
18
+ * THIS SOFTWARE IS NOT COPYRIGHTED
19
+ *
20
+ * This source code is offered for use in the public domain. You may
21
+ * use, modify or distribute it freely.
22
+ *
23
+ * This code is distributed in the hope that it will be useful but
24
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
25
+ * DISCLAIMED. This includes but is not limited to warranties of
26
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
27
+ *
28
+ */
29
+
30
+ #include <io.h>
31
+