Commit Graph

348 Commits

Author SHA1 Message Date
Jacek Caban 48fa25d4de include: Add intrin.h and use it to provide __cpuid implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-05 10:53:23 +02:00
Jacek Caban 8941d8e036 math.h: Use builtin nan and inf on clang MSVC target.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-27 12:04:20 +02:00
Jacek Caban b00a6e6e30 include: Improve _CrtDbgBreak macro.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-27 12:04:15 +02:00
Jacek Caban 1902eba2c6 include: Don't override keywords with macros on MSVC.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-23 20:20:22 +02:00
Jacek Caban 22315440fc include: Use long type for __msvcrt_long when possible.
Based on patch by Chip Davis.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-23 09:21:53 +02:00
Jacek Caban 944ef25f1f include: Fix DECLSPEC_NORETURN usage.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-15 22:53:48 +02:00
Jacek Caban d45e36f5f8 include: Avoid _onexit_t redefinition.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48888
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-06 21:22:39 +02:00
Jacek Caban f0b8ca648f stdlib.h: Add _get_thread_local_invalid_parameter_handler and _set_thread_local_invalid_parameter_handler declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-19 17:27:17 +01:00
Jacek Caban 9e9e21fdb0 process.h: Add quick_exit declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-19 17:27:15 +01:00
Jacek Caban cef2139207 locale.h: Add _Strftime declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-19 17:27:12 +01:00
Jacek Caban e52a44c405 io.h: Add _sopen_dispatch and _sopen_s declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-19 17:27:10 +01:00
Jacek Caban 311cb41702 float.h: Add __fpe_flt_rounds declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-19 17:27:08 +01:00
Jacek Caban 27e2c21bcf ctype.h: Add more declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-19 17:27:05 +01:00
Jacek Caban 4713675f9c corecrt_startup.h: Add more declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-19 17:27:03 +01:00
Jacek Caban ec4b4c33f3 include: Add fenv.h header.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-19 17:27:00 +01:00
Jacek Caban e12fa1f341 memory.h: Add _memicmp_l declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-18 19:36:53 +01:00
Jacek Caban d0d6e35ead string.h: Add __strncnt declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-18 19:36:51 +01:00
Jacek Caban e59970a60b ctype.h: Add _to[w]lower_l and _to[w]upper_l declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-18 19:36:49 +01:00
Jacek Caban 0a9ca2d3f2 corecrt_startup.h: Add onexit table declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-17 15:59:11 +01:00
Jacek Caban 26ffc40bfb include: Add corecrt_wdirect.h header.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 22:16:30 +01:00
Jacek Caban ce62c3c8c9 include: Add corecrt_wprocess.h header.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 22:16:30 +01:00
Jacek Caban d34ae79ddd stdio.h: Fix calling convention of variadic inline functions.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48697
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-03 15:20:16 +01:00
Jacek Caban c15733dead include: Add corecrt_startup.h header.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-27 23:37:56 +01:00
Jacek Caban 118ef11293 stdlib.h: Make externs declarations compatible with ucrt.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-27 23:37:27 +01:00
Jacek Caban e2a0a99e14 include: Make sys/stat.h compatible with ucrt.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-26 21:47:25 +01:00
Jacek Caban b4c82b263f include: Make corecrt_wio.h compatible with ucrt.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-26 21:47:25 +01:00
Jacek Caban 7b2517df2f include: Make corecrt_wtime.h compatible with ucrt.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-26 21:47:24 +01:00
Jacek Caban 61526f8050 include: Make time.h compatible with ucrt.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-26 21:47:24 +01:00
Jacek Caban e52ca3d68b include: Add corecrt_wstring.h header.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-25 23:43:17 +01:00
Jacek Caban 6b6c3ec728 corecrt_wstdio.h: Add ucrt wscanf and wscanf_s declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-25 08:47:25 +01:00
Jacek Caban 2a74488f47 corecrt_wstdio.h: Add ucrt wprintf_s and vwprintf_s declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-25 08:47:25 +01:00
Jacek Caban 364baf5deb corecrt_wstdio.h: Add ucrt wprintf and vwprintf declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-25 08:47:25 +01:00
Jacek Caban 77be811dee corecrt_wstdio.h: Add ucrt swscanf and swscanf_s declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-25 08:47:25 +01:00
Jacek Caban 1e5522ab78 include: Add corecrt_wstdlib.h header.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-24 18:50:19 +01:00
Jacek Caban 2a33bacc03 corecrt_wstdio.h: Add ucrt swprintf_s and vswprintf_s declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-24 18:50:19 +01:00
Jacek Caban f152ff9150 corecrt_wstdio.h: Add ucrt fwscanf and fwscanf_s declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-24 18:50:19 +01:00
Jacek Caban aa31bea074 corecrt_wstdio.h: Add ucrt fwprintf_s and vfwprintf_s declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-24 18:50:19 +01:00
Jacek Caban 5fe1c9aac4 corecrt_wstdio.h: Add ucrt fwprintf and vfwprintf declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-24 18:50:19 +01:00
Jacek Caban e5771a94e7 corecrt_wstdio.h: Add ucrt _vscwprintf_p_l and _vswprintf_p_l declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-24 18:50:19 +01:00
Jacek Caban 449959f411 corecrt_wstdio.h: Add ucrt _scwprintf and _vscwprintf declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-24 18:50:19 +01:00
Jacek Caban ee02f93cc9 corecrt_wstdio.h: Add ucrt _snwprintf_s and _vsnwprintf_s declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-24 18:50:19 +01:00
Jacek Caban eec622931f corecrt_wstdio.h: Add ucrt _snwprintf, swprintf and _swprintf declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-24 18:50:19 +01:00
Daniel Lehman 7aa1f6ee1c include: Update wcstok declarations.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-24 13:12:36 +01:00
Jacek Caban 0f932c9d45 include: Add new corecrt_wctype file.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-21 19:35:38 +01:00
Jacek Caban c317c1c47c stdio.h: Add ucrt _snscanf_l declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-21 19:35:38 +01:00
Jacek Caban 6e5ef798be stdio.h: Add ucrt sscanf and sscanf_s declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-21 19:35:38 +01:00
Jacek Caban 1e1b5d58f7 stdio.h: Add ucrt scanf and scanf_s declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-21 18:27:03 +01:00
Jacek Caban 8a5983197a stdio.h: Add ucrt fscanf and fscanf_s declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-21 18:26:43 +01:00
Jacek Caban 6805ae0f05 stdio.h: Add ucrt sprintf_s declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-21 18:26:39 +01:00
Jacek Caban 95be8e4928 stdio.h: Add ucrt printf_s and vprintf_s declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-21 18:26:36 +01:00