Commit Graph

25 Commits

Author SHA1 Message Date
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 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
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
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 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
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
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