Commit Graph

41 Commits

Author SHA1 Message Date
Alexandre Julliard 579fc688af include: Use proper dllimports for msvcrt functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-24 18:50:06 +01:00
Alexandre Julliard 0edef50dfa msvcrt: Use the public standard type definitions where possible in msvcrt.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-20 19:01:04 +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 6187ee1346 include: Include sys/stat.h from wchar.h.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-20 16:23:09 +01:00
Jacek Caban 80e2154856 include/msvcrt: Include corecrt.h instead of crtdefs.h.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-09 19:37:21 +02:00
Detlef Riekenberg 6e610f1e1a msvcr90: Implement _stat32, _fstat32, _wstat32. 2011-01-25 18:10:36 +01:00
Robert Wilhelm b3429e883c include: Add struct _stat32i64 and struct _stat64i32. 2010-05-26 17:36:32 +02:00
Alexandre Julliard 580e07e7ba include/msvcrt: Add explicit msvcrt_long types to replace long for 64-bit compatibility. 2009-05-23 11:57:39 +02:00
Alexandre Julliard 4a7b3460ef msvcrt: Add explicit 32- and 64-bit versions of the utime functions. 2009-05-23 11:12:17 +02:00
Alexandre Julliard 8408e3a955 msvcrt: Add explicit 32- and 64-bit versions of the time functions. 2009-05-23 11:12:12 +02:00
Alexandre Julliard bb33b0a21d msvcrt: Add __cdecl to all function prototypes. 2008-12-17 15:00:28 +01:00
Alexandre Julliard 33fa6c2e25 include: Add the msvcrt/crtdefs.h header and include it where needed. 2008-12-12 10:19:55 +01:00
Alexandre Julliard 74d63c020c include: Fix the definition of 64-bit types for Mingw64. 2008-12-09 17:42:13 +01:00
Dmitry Timoshkov 70015ab5b4 include/msvcrt: Make sure that __int64 is properly defined on a 64-bit platform. 2007-06-06 20:33:54 +02:00
Francois Gouget 784693bb5a msvcrt: Remove the S_ISXXX() macros as they are not present in the Visual C++ headers. 2007-05-22 12:01:28 +02:00
Dmitry Timoshkov 2af96fe590 msvcrt: Pack the structures on a 8-byte boundary like in PSDK. 2007-02-20 12:24:04 +01:00
Damjan Jovanovic cbb6da2d70 msvcrt: Added declarations for functions and structures related to stat64. 2007-02-14 12:30:58 +01:00
Damjan Jovanovic 65d9723dc4 msvcrt: Align struct _stati64's st_size on an 8 byte boundary. 2007-02-06 13:28:36 +01:00
Alexandre Julliard 9abd8852dd configure: Don't define _WIN64 on the command line to avoid trouble with system headers. 2006-10-16 21:29:23 +02:00
Detlef Riekenberg ca788bbc26 include: Open Watcom compatibility (Fix _BSDTYPES_DEFINED typo). 2006-09-22 13:22:50 +02:00
Alexandre Julliard 945292737b include/msvcrt: Fix all definitions of size_t for Win64. 2006-07-10 12:28:25 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Martin Fuchs ace5f3c6ed Define pid_t and ssize_t if not already defined. 2004-10-11 20:53:50 +00:00
Dimitrie O. Paun 0377462460 Split the MSVCRT implementation headers from the public headers.
Fix some naming conventions aberrations.
Add tests to ensure consistency between the two sets of symbols.
2004-06-25 01:19:15 +00:00
Hans Leidekker 821f4775a3 - Prefix many more functions, types, structs, etc. with MSVCRT_.
- Correct prototypes for _memccpy()/_memicmp().
- "define before use" reordering in file.c.
- Use the new math.h/float.h.
2004-03-16 19:17:11 +00:00
Dimitrie O. Paun 53f9c21fb7 Use angle brackets (<>) rather than quotes ("") for the include
directives in our .h files. This should avoid some potentially nasty
surprises for Winelib apps.
2003-08-28 21:43:34 +00:00
Dimitrie O. Paun 2892dbdf5f Add definitions for the S_IS* macros. 2003-08-13 19:35:35 +00:00
Jon Griffiths 5f17550896 Don't redefine __WINE_USE_MSVCRT (msvc warning).
Don't return a void value in swab().
'long long' is not recognised by msvc, use __int64.
2003-07-18 22:57:15 +00:00
Dimitrie O. Paun 76883a8cb6 Define the u_{char,short,int,long} in msvcrt/sys/types.h for Unix
compatibility (needed by winsock.h as well).
2003-03-17 21:22:34 +00:00
Dimitrie O. Paun 695c2bbde6 Define the (old name) struct stat, it is used by programs using the
old names.
2003-01-13 18:31:53 +00:00
Dimitrie O. Paun df9537eaef Use inline functions instead of macros to avoid problems in C++.
Inline functions respect scope, whereas macros don't.
Define umask in sys/stat.h, and mode_t in sys/types.h.
2003-01-11 22:49:54 +00:00
Dimitrie O. Paun 651f32fb50 Add unistd.h files for mingw/Unix compatibility. 2003-01-10 01:47:48 +00:00
Alexandre Julliard 3f5ff2fba2 Avoid including other headers from the msvcrt headers, duplicate some
definitions instead like Windows does.
Always define wchar_t (suggested by Dimitrie O. Paun), and use wchar_t
everywhere instead of WCHAR to avoid depending on Windows headers.
2002-12-18 20:17:20 +00:00
Rafael Kitover ac81d02a58 Portability fixes for Cygwin. 2002-07-31 20:04:20 +00:00
Alexandre Julliard 9560e58ac5 FreeBSD compile fix. 2002-04-27 21:14:50 +00:00
Bill Medland 716ffc5bef Connect the msvcrt file byte locking up to ntdll. 2002-03-20 22:50:38 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Uwe Bonnes cf80c545a5 _dev_t is an unsigned integer. 2001-11-23 18:25:34 +00:00
Francois Gouget a45907c4c0 Added __WINE_USE_MSVCRT. 2001-10-22 18:59:23 +00:00
Francois Gouget 433430ae96 Add msvcrt/locale.h.
Add missing include directives in msvcrt/wchar.h.
Fix prototype of _wstati64 in msvcrt/sys/stat.h.
2001-09-19 20:29:33 +00:00
Francois Gouget eee695dd71 Added headers for the msvcrt library. 2001-04-10 23:21:43 +00:00