@xnetx/tinyc-native-x86_64-w64-mingw32 0.1.3 → 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 (124) 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/tinyc_io.h +131 -131
  4. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/_mingw.h +171 -171
  5. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/arm_neon.h +3585 -0
  6. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/assert.h +62 -62
  7. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx2intrin.h +93 -0
  8. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512bwintrin.h +128 -0
  9. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512cdintrin.h +31 -0
  10. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512dqintrin.h +123 -0
  11. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512fintrin.h +1075 -0
  12. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512vbmiintrin.h +30 -0
  13. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512vlintrin.h +1633 -0
  14. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avx512vnniintrin.h +33 -0
  15. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/avxintrin.h +675 -0
  16. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/conio.h +409 -409
  17. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/ctype.h +281 -281
  18. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/dir.h +31 -31
  19. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/direct.h +68 -68
  20. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/dirent.h +135 -135
  21. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/dos.h +55 -55
  22. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/emmintrin.h +213 -0
  23. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/errno.h +75 -75
  24. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/excpt.h +123 -123
  25. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/f16cintrin.h +29 -0
  26. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/fcntl.h +52 -52
  27. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/fenv.h +108 -108
  28. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/float.h +75 -75
  29. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/fmaintrin.h +141 -0
  30. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/immintrin.h +21 -0
  31. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/inttypes.h +297 -297
  32. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/io.h +418 -418
  33. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/iso646.h +36 -36
  34. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/limits.h +116 -116
  35. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/locale.h +91 -91
  36. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/malloc.h +181 -181
  37. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/math.h +497 -497
  38. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/mem.h +13 -13
  39. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/memory.h +40 -40
  40. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/process.h +176 -176
  41. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/riscv_vector.h +12334 -0
  42. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/conio_s.h +42 -42
  43. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/crtdbg_s.h +19 -19
  44. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/io_s.h +33 -33
  45. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/mbstring_s.h +52 -52
  46. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/search_s.h +25 -25
  47. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/stdio_s.h +145 -145
  48. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/stdlib_s.h +67 -67
  49. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/stralign_s.h +30 -30
  50. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/string_s.h +41 -41
  51. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/sys/timeb_s.h +34 -34
  52. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/tchar_s.h +266 -266
  53. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/time_s.h +61 -61
  54. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sec_api/wchar_s.h +128 -128
  55. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/setjmp.h +199 -199
  56. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/share.h +28 -28
  57. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/signal.h +63 -63
  58. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/smmintrin.h +74 -0
  59. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdalign.h +16 -16
  60. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdarg.h +14 -14
  61. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdatomic.h +171 -171
  62. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdbool.h +11 -11
  63. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stddef.h +39 -39
  64. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdint.h +212 -212
  65. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdio.h +429 -429
  66. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdlib.h +606 -606
  67. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/stdnoreturn.h +7 -7
  68. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/string.h +164 -164
  69. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/fcntl.h +13 -13
  70. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/file.h +14 -14
  71. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/locking.h +30 -30
  72. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/stat.h +290 -290
  73. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/time.h +69 -69
  74. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/timeb.h +133 -133
  75. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/types.h +123 -123
  76. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/unistd.h +14 -14
  77. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/sys/utime.h +146 -146
  78. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tcc/tcc_libm.h +618 -618
  79. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tccdefs.h +338 -338
  80. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tcclib.h +82 -82
  81. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tchar.h +1102 -1102
  82. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tgmath.h +89 -89
  83. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/time.h +287 -287
  84. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/tmmintrin.h +19 -0
  85. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/uchar.h +33 -33
  86. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/unistd.h +1 -1
  87. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/vadefs.h +11 -11
  88. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/values.h +4 -4
  89. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/varargs.h +12 -12
  90. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/wchar.h +873 -873
  91. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/wctype.h +172 -172
  92. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/basetsd.h +149 -149
  93. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/basetyps.h +85 -85
  94. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/guiddef.h +156 -156
  95. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/poppack.h +8 -8
  96. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/pshpack1.h +8 -8
  97. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/pshpack2.h +8 -8
  98. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/pshpack4.h +8 -8
  99. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/pshpack8.h +8 -8
  100. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/qos.h +72 -72
  101. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/shellapi.h +59 -59
  102. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winbase.h +2966 -2966
  103. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/wincon.h +309 -309
  104. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/windef.h +293 -293
  105. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/windows.h +127 -127
  106. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winerror.h +3166 -3166
  107. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/wingdi.h +4080 -4080
  108. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winnls.h +778 -778
  109. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winnt.h +5994 -5994
  110. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winreg.h +272 -272
  111. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winsock2.h +1474 -1474
  112. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winuser.h +5652 -5652
  113. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/winver.h +160 -160
  114. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/ws2ipdef.h +21 -21
  115. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/winapi/ws2tcpip.h +391 -391
  116. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/include/xmmintrin.h +170 -0
  117. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/gdi32.def +337 -337
  118. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/kernel32.def +776 -776
  119. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/libtcc1.a +0 -0
  120. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/msvcrt.def +1320 -1320
  121. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/runmain.o +0 -0
  122. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/user32.def +658 -658
  123. package/sysroot/x86_64-w64-mingw32/lib/tcc/win32/lib/ws2_32.def +198 -198
  124. package/sysroot/x86_64-w64-mingw32/manifest.json +1 -1
@@ -1,69 +1,69 @@
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
- #ifndef _SYS_TIME_H_
8
- #define _SYS_TIME_H_
9
-
10
- #include <time.h>
11
-
12
- #ifdef __cplusplus
13
- extern "C" {
14
- #endif
15
-
16
- #ifndef __STRICT_ANSI__
17
- #ifndef _TIMEVAL_DEFINED /* also in winsock[2].h */
18
- #define _TIMEVAL_DEFINED
19
- struct timeval {
20
- long tv_sec;
21
- long tv_usec;
22
- };
23
- #define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
24
- #define timercmp(tvp, uvp, cmp) \
25
- (((tvp)->tv_sec != (uvp)->tv_sec) ? \
26
- ((tvp)->tv_sec cmp (uvp)->tv_sec) : \
27
- ((tvp)->tv_usec cmp (uvp)->tv_usec))
28
- #define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
29
- #endif /* _TIMEVAL_DEFINED */
30
-
31
- #ifndef _TIMEZONE_DEFINED /* also in sys/time.h */
32
- #define _TIMEZONE_DEFINED
33
- /* Provided for compatibility with code that assumes that
34
- the presence of gettimeofday function implies a definition
35
- of struct timezone. */
36
- struct timezone
37
- {
38
- int tz_minuteswest; /* of Greenwich */
39
- int tz_dsttime; /* type of dst correction to apply */
40
- };
41
-
42
- extern int __cdecl mingw_gettimeofday (struct timeval *p, struct timezone *z);
43
-
44
- #endif
45
-
46
- /*
47
- Implementation as per:
48
- The Open Group Base Specifications, Issue 6
49
- IEEE Std 1003.1, 2004 Edition
50
-
51
- The timezone pointer arg is ignored. Errors are ignored.
52
- */
53
- #ifndef _GETTIMEOFDAY_DEFINED
54
- #define _GETTIMEOFDAY_DEFINED
55
- int __cdecl gettimeofday(struct timeval *__restrict__,
56
- void *__restrict__ /* tzp (unused) */);
57
- #endif
58
-
59
- #endif /* __STRICT_ANSI__ */
60
-
61
- #ifdef __cplusplus
62
- }
63
- #endif
64
-
65
- /* Adding timespec definition. */
66
- #include <sys/timeb.h>
67
-
68
-
69
- #endif /* _SYS_TIME_H_ */
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
+ #ifndef _SYS_TIME_H_
8
+ #define _SYS_TIME_H_
9
+
10
+ #include <time.h>
11
+
12
+ #ifdef __cplusplus
13
+ extern "C" {
14
+ #endif
15
+
16
+ #ifndef __STRICT_ANSI__
17
+ #ifndef _TIMEVAL_DEFINED /* also in winsock[2].h */
18
+ #define _TIMEVAL_DEFINED
19
+ struct timeval {
20
+ long tv_sec;
21
+ long tv_usec;
22
+ };
23
+ #define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
24
+ #define timercmp(tvp, uvp, cmp) \
25
+ (((tvp)->tv_sec != (uvp)->tv_sec) ? \
26
+ ((tvp)->tv_sec cmp (uvp)->tv_sec) : \
27
+ ((tvp)->tv_usec cmp (uvp)->tv_usec))
28
+ #define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
29
+ #endif /* _TIMEVAL_DEFINED */
30
+
31
+ #ifndef _TIMEZONE_DEFINED /* also in sys/time.h */
32
+ #define _TIMEZONE_DEFINED
33
+ /* Provided for compatibility with code that assumes that
34
+ the presence of gettimeofday function implies a definition
35
+ of struct timezone. */
36
+ struct timezone
37
+ {
38
+ int tz_minuteswest; /* of Greenwich */
39
+ int tz_dsttime; /* type of dst correction to apply */
40
+ };
41
+
42
+ extern int __cdecl mingw_gettimeofday (struct timeval *p, struct timezone *z);
43
+
44
+ #endif
45
+
46
+ /*
47
+ Implementation as per:
48
+ The Open Group Base Specifications, Issue 6
49
+ IEEE Std 1003.1, 2004 Edition
50
+
51
+ The timezone pointer arg is ignored. Errors are ignored.
52
+ */
53
+ #ifndef _GETTIMEOFDAY_DEFINED
54
+ #define _GETTIMEOFDAY_DEFINED
55
+ int __cdecl gettimeofday(struct timeval *__restrict__,
56
+ void *__restrict__ /* tzp (unused) */);
57
+ #endif
58
+
59
+ #endif /* __STRICT_ANSI__ */
60
+
61
+ #ifdef __cplusplus
62
+ }
63
+ #endif
64
+
65
+ /* Adding timespec definition. */
66
+ #include <sys/timeb.h>
67
+
68
+
69
+ #endif /* _SYS_TIME_H_ */
@@ -1,133 +1,133 @@
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 _TIMEB_H_
7
- #define _TIMEB_H_
8
-
9
- #include <_mingw.h>
10
-
11
- #ifndef _WIN32
12
- #error Only Win32 target is supported!
13
- #endif
14
-
15
- #pragma pack(push,_CRT_PACKING)
16
-
17
- #ifdef __cplusplus
18
- extern "C" {
19
- #endif
20
-
21
- #ifndef _CRTIMP
22
- #define _CRTIMP __declspec(dllimport)
23
- #endif
24
-
25
- #ifndef __TINYC__ /* gr */
26
- #ifdef _USE_32BIT_TIME_T
27
- #ifdef _WIN64
28
- #undef _USE_32BIT_TIME_T
29
- #endif
30
- #else
31
- #if _INTEGRAL_MAX_BITS < 64
32
- #define _USE_32BIT_TIME_T
33
- #endif
34
- #endif
35
- #endif
36
-
37
- #ifndef _TIME32_T_DEFINED
38
- typedef long __time32_t;
39
- #define _TIME32_T_DEFINED
40
- #endif
41
-
42
- #ifndef _TIME64_T_DEFINED
43
- #if _INTEGRAL_MAX_BITS >= 64
44
- typedef __int64 __time64_t;
45
- #endif
46
- #define _TIME64_T_DEFINED
47
- #endif
48
-
49
- #ifndef _TIME_T_DEFINED
50
- #ifdef _USE_32BIT_TIME_T
51
- typedef __time32_t time_t;
52
- #else
53
- typedef __time64_t time_t;
54
- #endif
55
- #define _TIME_T_DEFINED
56
- #endif
57
-
58
- #ifndef _TIMEB_DEFINED
59
- #define _TIMEB_DEFINED
60
-
61
- struct __timeb32 {
62
- __time32_t time;
63
- unsigned short millitm;
64
- short timezone;
65
- short dstflag;
66
- };
67
-
68
- #ifndef NO_OLDNAMES
69
- struct timeb {
70
- time_t time;
71
- unsigned short millitm;
72
- short timezone;
73
- short dstflag;
74
- };
75
- #endif
76
-
77
- #if _INTEGRAL_MAX_BITS >= 64
78
- struct __timeb64 {
79
- __time64_t time;
80
- unsigned short millitm;
81
- short timezone;
82
- short dstflag;
83
- };
84
- #endif
85
-
86
- #ifdef _USE_32BIT_TIME_T
87
- #define _timeb __timeb32
88
- //gr #define _ftime _ftime32
89
- #define _ftime32 _ftime
90
- #else
91
- #define _timeb __timeb64
92
- #define _ftime _ftime64
93
- #endif
94
- #endif
95
-
96
- _CRTIMP void __cdecl _ftime32(struct __timeb32 *_Time);
97
- #if _INTEGRAL_MAX_BITS >= 64
98
- _CRTIMP void __cdecl _ftime64(struct __timeb64 *_Time);
99
- #endif
100
-
101
- #ifndef _TIMESPEC_DEFINED
102
- #define _TIMESPEC_DEFINED
103
- struct timespec {
104
- time_t tv_sec; /* Seconds */
105
- long tv_nsec; /* Nanoseconds */
106
- };
107
-
108
- struct itimerspec {
109
- struct timespec it_interval; /* Timer period */
110
- struct timespec it_value; /* Timer expiration */
111
- };
112
- #endif
113
-
114
- #if !defined (RC_INVOKED) && !defined (NO_OLDNAMES)
115
- #ifdef _USE_32BIT_TIME_T
116
- __CRT_INLINE void __cdecl ftime(struct timeb *_Tmb) {
117
- _ftime32((struct __timeb32 *)_Tmb);
118
- }
119
- #else
120
- __CRT_INLINE void __cdecl ftime(struct timeb *_Tmb) {
121
- _ftime64((struct __timeb64 *)_Tmb);
122
- }
123
- #endif
124
- #endif
125
-
126
- #ifdef __cplusplus
127
- }
128
- #endif
129
-
130
- #pragma pack(pop)
131
-
132
- #include <sec_api/sys/timeb_s.h>
133
- #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 _TIMEB_H_
7
+ #define _TIMEB_H_
8
+
9
+ #include <_mingw.h>
10
+
11
+ #ifndef _WIN32
12
+ #error Only Win32 target is supported!
13
+ #endif
14
+
15
+ #pragma pack(push,_CRT_PACKING)
16
+
17
+ #ifdef __cplusplus
18
+ extern "C" {
19
+ #endif
20
+
21
+ #ifndef _CRTIMP
22
+ #define _CRTIMP __declspec(dllimport)
23
+ #endif
24
+
25
+ #ifndef __TINYC__ /* gr */
26
+ #ifdef _USE_32BIT_TIME_T
27
+ #ifdef _WIN64
28
+ #undef _USE_32BIT_TIME_T
29
+ #endif
30
+ #else
31
+ #if _INTEGRAL_MAX_BITS < 64
32
+ #define _USE_32BIT_TIME_T
33
+ #endif
34
+ #endif
35
+ #endif
36
+
37
+ #ifndef _TIME32_T_DEFINED
38
+ typedef long __time32_t;
39
+ #define _TIME32_T_DEFINED
40
+ #endif
41
+
42
+ #ifndef _TIME64_T_DEFINED
43
+ #if _INTEGRAL_MAX_BITS >= 64
44
+ typedef __int64 __time64_t;
45
+ #endif
46
+ #define _TIME64_T_DEFINED
47
+ #endif
48
+
49
+ #ifndef _TIME_T_DEFINED
50
+ #ifdef _USE_32BIT_TIME_T
51
+ typedef __time32_t time_t;
52
+ #else
53
+ typedef __time64_t time_t;
54
+ #endif
55
+ #define _TIME_T_DEFINED
56
+ #endif
57
+
58
+ #ifndef _TIMEB_DEFINED
59
+ #define _TIMEB_DEFINED
60
+
61
+ struct __timeb32 {
62
+ __time32_t time;
63
+ unsigned short millitm;
64
+ short timezone;
65
+ short dstflag;
66
+ };
67
+
68
+ #ifndef NO_OLDNAMES
69
+ struct timeb {
70
+ time_t time;
71
+ unsigned short millitm;
72
+ short timezone;
73
+ short dstflag;
74
+ };
75
+ #endif
76
+
77
+ #if _INTEGRAL_MAX_BITS >= 64
78
+ struct __timeb64 {
79
+ __time64_t time;
80
+ unsigned short millitm;
81
+ short timezone;
82
+ short dstflag;
83
+ };
84
+ #endif
85
+
86
+ #ifdef _USE_32BIT_TIME_T
87
+ #define _timeb __timeb32
88
+ //gr #define _ftime _ftime32
89
+ #define _ftime32 _ftime
90
+ #else
91
+ #define _timeb __timeb64
92
+ #define _ftime _ftime64
93
+ #endif
94
+ #endif
95
+
96
+ _CRTIMP void __cdecl _ftime32(struct __timeb32 *_Time);
97
+ #if _INTEGRAL_MAX_BITS >= 64
98
+ _CRTIMP void __cdecl _ftime64(struct __timeb64 *_Time);
99
+ #endif
100
+
101
+ #ifndef _TIMESPEC_DEFINED
102
+ #define _TIMESPEC_DEFINED
103
+ struct timespec {
104
+ time_t tv_sec; /* Seconds */
105
+ long tv_nsec; /* Nanoseconds */
106
+ };
107
+
108
+ struct itimerspec {
109
+ struct timespec it_interval; /* Timer period */
110
+ struct timespec it_value; /* Timer expiration */
111
+ };
112
+ #endif
113
+
114
+ #if !defined (RC_INVOKED) && !defined (NO_OLDNAMES)
115
+ #ifdef _USE_32BIT_TIME_T
116
+ __CRT_INLINE void __cdecl ftime(struct timeb *_Tmb) {
117
+ _ftime32((struct __timeb32 *)_Tmb);
118
+ }
119
+ #else
120
+ __CRT_INLINE void __cdecl ftime(struct timeb *_Tmb) {
121
+ _ftime64((struct __timeb64 *)_Tmb);
122
+ }
123
+ #endif
124
+ #endif
125
+
126
+ #ifdef __cplusplus
127
+ }
128
+ #endif
129
+
130
+ #pragma pack(pop)
131
+
132
+ #include <sec_api/sys/timeb_s.h>
133
+ #endif
@@ -1,123 +1,123 @@
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_TYPES
7
- #define _INC_TYPES
8
-
9
- #ifndef _WIN32
10
- #error Only Win32 target is supported!
11
- #endif
12
-
13
- #include <_mingw.h>
14
-
15
- #ifndef __TINYC__ /* gr */
16
- #ifdef _USE_32BIT_TIME_T
17
- #ifdef _WIN64
18
- #undef _USE_32BIT_TIME_T
19
- #endif
20
- #else
21
- #if _INTEGRAL_MAX_BITS < 64
22
- #define _USE_32BIT_TIME_T
23
- #endif
24
- #endif
25
- #endif
26
-
27
- #ifndef _TIME32_T_DEFINED
28
- #define _TIME32_T_DEFINED
29
- typedef long __time32_t;
30
- #endif
31
-
32
- #ifndef _TIME64_T_DEFINED
33
- #define _TIME64_T_DEFINED
34
- #if _INTEGRAL_MAX_BITS >= 64
35
- typedef __int64 __time64_t;
36
- #endif
37
- #endif
38
-
39
- #ifndef _TIME_T_DEFINED
40
- #define _TIME_T_DEFINED
41
- #ifdef _USE_32BIT_TIME_T
42
- typedef __time32_t time_t;
43
- #else
44
- typedef __time64_t time_t;
45
- #endif
46
- #endif
47
-
48
- #ifndef _INO_T_DEFINED
49
- #define _INO_T_DEFINED
50
- typedef unsigned short _ino_t;
51
- #ifndef NO_OLDNAMES
52
- typedef unsigned short ino_t;
53
- #endif
54
- #endif
55
-
56
- #ifndef _DEV_T_DEFINED
57
- #define _DEV_T_DEFINED
58
- typedef unsigned int _dev_t;
59
- #ifndef NO_OLDNAMES
60
- typedef unsigned int dev_t;
61
- #endif
62
- #endif
63
-
64
- #ifndef _PID_T_
65
- #define _PID_T_
66
- #ifndef _WIN64
67
- typedef int _pid_t;
68
- #else
69
- typedef __int64 _pid_t;
70
- #endif
71
-
72
- #ifndef NO_OLDNAMES
73
- typedef _pid_t pid_t;
74
- #endif
75
- #endif /* Not _PID_T_ */
76
-
77
- #ifndef _MODE_T_
78
- #define _MODE_T_
79
- typedef unsigned short _mode_t;
80
-
81
- #ifndef NO_OLDNAMES
82
- typedef _mode_t mode_t;
83
- #endif
84
- #endif /* Not _MODE_T_ */
85
-
86
- #ifndef _OFF_T_DEFINED
87
- #define _OFF_T_DEFINED
88
- #ifndef _OFF_T_
89
- #define _OFF_T_
90
- typedef long _off_t;
91
- #if !defined(NO_OLDNAMES) || defined(_POSIX)
92
- typedef long off_t;
93
- #endif
94
- #endif
95
- #endif
96
-
97
- #ifndef _OFF64_T_DEFINED
98
- #define _OFF64_T_DEFINED
99
- typedef long long _off64_t;
100
- #if !defined(NO_OLDNAMES) || defined(_POSIX)
101
- typedef long long off64_t;
102
- #endif
103
- #endif
104
-
105
- /* required by (unbundled) unistd.h for usleep arg type */
106
- #ifndef __NO_ISOCEXT
107
- typedef unsigned int useconds_t;
108
- #endif
109
-
110
- #ifndef _TIMESPEC_DEFINED
111
- #define _TIMESPEC_DEFINED
112
- struct timespec {
113
- time_t tv_sec; /* Seconds */
114
- long tv_nsec; /* Nanoseconds */
115
- };
116
-
117
- struct itimerspec {
118
- struct timespec it_interval; /* Timer period */
119
- struct timespec it_value; /* Timer expiration */
120
- };
121
- #endif
122
-
123
- #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_TYPES
7
+ #define _INC_TYPES
8
+
9
+ #ifndef _WIN32
10
+ #error Only Win32 target is supported!
11
+ #endif
12
+
13
+ #include <_mingw.h>
14
+
15
+ #ifndef __TINYC__ /* gr */
16
+ #ifdef _USE_32BIT_TIME_T
17
+ #ifdef _WIN64
18
+ #undef _USE_32BIT_TIME_T
19
+ #endif
20
+ #else
21
+ #if _INTEGRAL_MAX_BITS < 64
22
+ #define _USE_32BIT_TIME_T
23
+ #endif
24
+ #endif
25
+ #endif
26
+
27
+ #ifndef _TIME32_T_DEFINED
28
+ #define _TIME32_T_DEFINED
29
+ typedef long __time32_t;
30
+ #endif
31
+
32
+ #ifndef _TIME64_T_DEFINED
33
+ #define _TIME64_T_DEFINED
34
+ #if _INTEGRAL_MAX_BITS >= 64
35
+ typedef __int64 __time64_t;
36
+ #endif
37
+ #endif
38
+
39
+ #ifndef _TIME_T_DEFINED
40
+ #define _TIME_T_DEFINED
41
+ #ifdef _USE_32BIT_TIME_T
42
+ typedef __time32_t time_t;
43
+ #else
44
+ typedef __time64_t time_t;
45
+ #endif
46
+ #endif
47
+
48
+ #ifndef _INO_T_DEFINED
49
+ #define _INO_T_DEFINED
50
+ typedef unsigned short _ino_t;
51
+ #ifndef NO_OLDNAMES
52
+ typedef unsigned short ino_t;
53
+ #endif
54
+ #endif
55
+
56
+ #ifndef _DEV_T_DEFINED
57
+ #define _DEV_T_DEFINED
58
+ typedef unsigned int _dev_t;
59
+ #ifndef NO_OLDNAMES
60
+ typedef unsigned int dev_t;
61
+ #endif
62
+ #endif
63
+
64
+ #ifndef _PID_T_
65
+ #define _PID_T_
66
+ #ifndef _WIN64
67
+ typedef int _pid_t;
68
+ #else
69
+ typedef __int64 _pid_t;
70
+ #endif
71
+
72
+ #ifndef NO_OLDNAMES
73
+ typedef _pid_t pid_t;
74
+ #endif
75
+ #endif /* Not _PID_T_ */
76
+
77
+ #ifndef _MODE_T_
78
+ #define _MODE_T_
79
+ typedef unsigned short _mode_t;
80
+
81
+ #ifndef NO_OLDNAMES
82
+ typedef _mode_t mode_t;
83
+ #endif
84
+ #endif /* Not _MODE_T_ */
85
+
86
+ #ifndef _OFF_T_DEFINED
87
+ #define _OFF_T_DEFINED
88
+ #ifndef _OFF_T_
89
+ #define _OFF_T_
90
+ typedef long _off_t;
91
+ #if !defined(NO_OLDNAMES) || defined(_POSIX)
92
+ typedef long off_t;
93
+ #endif
94
+ #endif
95
+ #endif
96
+
97
+ #ifndef _OFF64_T_DEFINED
98
+ #define _OFF64_T_DEFINED
99
+ typedef long long _off64_t;
100
+ #if !defined(NO_OLDNAMES) || defined(_POSIX)
101
+ typedef long long off64_t;
102
+ #endif
103
+ #endif
104
+
105
+ /* required by (unbundled) unistd.h for usleep arg type */
106
+ #ifndef __NO_ISOCEXT
107
+ typedef unsigned int useconds_t;
108
+ #endif
109
+
110
+ #ifndef _TIMESPEC_DEFINED
111
+ #define _TIMESPEC_DEFINED
112
+ struct timespec {
113
+ time_t tv_sec; /* Seconds */
114
+ long tv_nsec; /* Nanoseconds */
115
+ };
116
+
117
+ struct itimerspec {
118
+ struct timespec it_interval; /* Timer period */
119
+ struct timespec it_value; /* Timer expiration */
120
+ };
121
+ #endif
122
+
123
+ #endif
@@ -1,14 +1,14 @@
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
- * This file is part of the Mingw32 package.
8
- *
9
- * unistd.h maps (roughly) to io.h
10
- */
11
- #ifndef __STRICT_ANSI__
12
- #include <io.h>
13
- #endif
14
-
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
+ * This file is part of the Mingw32 package.
8
+ *
9
+ * unistd.h maps (roughly) to io.h
10
+ */
11
+ #ifndef __STRICT_ANSI__
12
+ #include <io.h>
13
+ #endif
14
+