Alistair Leslie-Hughes
2cdecca210
msvcrt: Add strupr_s declaration.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 09:59:58 +02:00
Alexandre Julliard
83f04e3850
include: Make sure the JUMP_BUFFER structure is correctly aligned on x86-64
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-06 20:06:34 +02:00
Alexandre Julliard
c0a54996e2
include/msvcrt: Use setjmpex() instead of setjmp() on 64-bit.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 15:04:06 +02:00
Alexandre Julliard
a16ef96dc6
include/msvcrt: Add INFINITY and NAN definitions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 15:03:37 +02:00
Alexandre Julliard
54bd7e655a
include/msvcrt: Define more math functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-29 11:38:38 +02:00
Alexandre Julliard
44be6a8294
include/msvcrt: Add snprintf() compatibility macro.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-29 10:44:09 +02:00
Alexandre Julliard
cff0227ff1
include/msvcrt: Add inttypes.h header.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-06 07:13:53 -05:00
Alexandre Julliard
ba2ca27dfe
include/msvcrt: Add stdint.h header.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-26 13:38:36 +02:00
Alexandre Julliard
52bc3abb1b
include/msvcrt: Add noreturn attributes.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-23 23:50:44 +02:00
Alexandre Julliard
ca6478b2a3
include/msvcrt: Use _fpclass() instead of _dclass().
...
dclass() is only available in MSVCR120.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-23 23:50:44 +02:00
Alexandre Julliard
e76912880a
include/msvcrt: Make offsetof constant for compatibility with Mingw.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-23 23:50:44 +02:00
Alexandre Julliard
f402bcd0c3
include/msvcrt: Remove some prototypes that conflict with gcc builtins.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-23 23:50:44 +02:00
Alexandre Julliard
b9ae3bf095
include/msvcrt: Define math constants by default, for compatibility with Mingw.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-23 23:50:44 +02:00
Alexandre Julliard
1f38c1abf6
include: Add wcsicmp() inline wrapper.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-11 16:46:41 +02:00
Alexandre Julliard
9b63daca51
include: Default to the standards-compliant version of swprintf().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-11 16:46:41 +02:00
Alexandre Julliard
e4d34098a6
msvcrt: Fix __p__fmode() prototype.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-14 18:24:46 +01:00
Daniel Lehman
77ad8a477e
include/msvcrt: Include calling convention with function pointers.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-21 23:21:52 +02:00
Piotr Caban
e689445833
include/msvcrt: Add POSIX error codes to errno.h.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 21:28:45 +02:00
Alex Henrie
ae023be3ee
include: Add wmemset to wchar.h.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-29 17:13:05 +02:00
Alex Henrie
b583a636c1
include: Add wmemmove to wchar.h.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-29 17:13:05 +02:00
Alex Henrie
9e093cbcc7
include: Add wmemcpy to wchar.h.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-29 17:13:05 +02:00
Alex Henrie
0d5648b463
include: Add wmemcmp to wchar.h.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-28 22:08:23 +02:00
Alex Henrie
e1bfd4b4cb
include: Add wmemchr to wchar.h.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-28 22:08:23 +02:00
Martin Storsjo
8fb8cc03c3
arm64: Use __builtin_ms_va_list and __attribute__((ms_abi)) on arm64.
...
Windows uses a different ABI for va_list on arm64 just like on x86_64.
On x86_64, the calling convention for windows functions is completely
different from the one on other platforms. On arm64, they're mostly the
same, with the only exception being variadic functions (where all float
arguments are passed in integer registers, since the va_list is a single
pointer).
Any functions using __builtin_ms_va_start need to be decorated with
__attribute__((ms_abi)).
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-10 08:36:58 +02:00
Alex Henrie
b8c27cca37
include: Add lldiv and lldiv_t.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-04 16:56:39 +02:00
Alex Henrie
8a9812b767
include: Add llabs.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-04 00:15:50 +02:00
Alex Henrie
7ad8608ffb
include: Add strtoll, strtoll_l, strtoull, and strtoull_l.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-04 00:15:48 +02:00
Alex Henrie
0ab4f08954
include: Add atoll.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-04 00:15:46 +02:00
Alex Henrie
67cae2dedc
ucrtbase: Hook up _Exit.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-02 20:02:08 +02:00
Alex Henrie
ccbfb951c2
include: Add strtof and strtold.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-02 20:02:02 +02:00
Daniel Lehman
1863ec6414
include: Add wcstof.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-01 13:04:59 +02:00
Daniel Lehman
1ce7356498
include: Add _countof macro.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-01 13:04:55 +02:00
Daniel Lehman
fbfcb57c17
include: Add some math function declarations.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-13 20:23:26 +01:00
Alexandre Julliard
5c50ec0c74
include: Don't use floating point for WINAPI functions when building for soft-float on ARM.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-08 16:45:55 +01:00
Alexandre Julliard
644f497e87
include: Use the hard-float calling convention for Windows APIs on ARM
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 10:24:26 +01:00
Alexandre Julliard
7726157e19
msvcrt: Use WINAPIV calling convention for variadic functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 10:20:02 +01:00
Alistair Leslie-Hughes
fae0570a88
msvcrt: Implement clearerr_s.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-26 11:19:36 +02:00
Martin Storsjo
3d3d080688
msvcrt: Implement setjmp/longjmp on aarch64.
...
Also include the rest of except_*.c (based on except_arm.c) as stubs.
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-08 16:23:14 +02:00
Daniel Lehman
1fdebb77ec
include: Remove references to SPARC.
...
SPARC support removed in 2013.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-04 09:13:12 +02:00
Alistair Leslie-Hughes
b0bc08b345
include: Add LLONG_MIN, LLONG_MAX, ULLONG_MAX defines.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-06 16:30:40 +01:00
Stefan Silviu
4d37b87219
msvcrt: Implement nearbyint and nearbyintf.
...
Signed-off-by: Stefan Silviu <sylviu44@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-22 16:30:40 +01:00
Piotr Caban
514ff74e9b
include: Add msvcrt/fpieee.h header.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-24 22:26:10 +09:00
Iván Matellanes
4f71f42910
include/msvcrt: Ensure integer limits are given the correct type.
...
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 12:07:14 +09:00
Alexandre Julliard
206e8b147b
include: Update stdcall and cdecl definitions in crtdefs.h.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:22 +09:00
Grazvydas Ignotas
6c63e9f5d2
include: Expose some more implemented math functions.
...
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 01:04:30 +09:00
Grazvydas Ignotas
cc902bce5b
include: Use fabsf implementation when available.
...
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 01:04:30 +09:00
Grazvydas Ignotas
b3194e04e0
include: Use float math functions on ARM.
...
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 01:04:30 +09:00
Piotr Caban
1e9402124d
msvcp: Add _Dtest implementation.
2015-09-14 16:47:52 +09:00
Piotr Caban
d7f6eac058
msvcp110: Fix _Getcvt implementation.
2015-04-22 23:28:42 +09:00
Orion Poplawski
8bf1732962
msvcrt: Bump MSVCRT_MB_LEN_MAX to 5 and use it in MSVCRT__wctomb_l for default buffer lengthSet MB_LEN_MAX to 5 to match MSVCRT_MB_LEN_MAX.
2015-02-03 14:38:40 +09:00