Jacek Caban
40c3662fb3
tchar.h: Fix some macros.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-13 16:44:24 +01:00
Kevin Puetz
c120890396
tchar.h: Allow using header without msvcrt.
...
It's useful for _T macro and TCHAR typedef.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-13 16:44:23 +01:00
Kevin Puetz
c2679945dd
include: Introduce WINE_UNICODE_CHAR16 that allows using char16_t as Windows WCHAR.
...
This is useful for winelib applications that don't use -fshort-wchar.
They may use u"" for string literals and u16string. However, C++ has
builtin char16_t type, so we need WCHAR to be compatible with that.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-12 08:51:19 +01:00
Alistair Leslie-Hughes
75133c6158
include: Add tchar defines.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-02 10:52:03 +02:00
Mihail Ivanchev
f17df0543d
include: Fixed the Unicode expansion of _sntprintf.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45913
Signed-off-by: Mihail Ivanchev <contact@ivanchev.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-12 10:21:51 +01:00
Daniel Lehman
94faa161ee
include: Add some tchar forwards.
...
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-15 19:33:49 +01:00
Anthony Fok
e034c41953
include: Suppress "use msvcrt" error in tchar.h when -mno-cygwin is used.
...
Signed-off-by: Anthony Fok <foka@debian.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-12 19:10:05 +09:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Mikołaj Zalewski
61512b2021
include: Fix a mistake in the declaration of _sntprintf.
2006-04-14 10:50:28 +02:00
Martin Fuchs
84ff5ddeac
- Fix typo in error message
...
- Separate wint_t definition from wctype_t definition (needed for
Cygwin target).
2004-10-19 03:57:18 +00:00
Dimitrie O. Paun
d701e6de1d
Define _T[USX]?CHAR/_TINT/TCHAR types, for compatibility.
...
Do not depend on other files being included first.
Have the same include graph as the MS headers.
Protect against trying to use libc when not possible.
Cleanups.
2004-04-26 23:32:15 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +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
eb585a9685
Use the standard symbol names instead of the msvcrt specific ones.
2003-01-07 23:09:54 +00:00
Dimitrie O. Paun
8b36681bad
Rename __WINE__ to __WINESRC__.
2003-01-04 00:52:18 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +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
Francois Gouget
232b500427
Remove duplicate definition of _tmain.
...
Add definitions for __targv and _tenviron.
2001-09-19 22:24:54 +00:00
Francois Gouget
c4efb32c7e
Prevent use by Wine's source.
...
Added missing 'function' definitions (macros really).
2001-04-23 18:23:00 +00:00
Francois Gouget
7a2da179b9
Prevent multiple definitions caused by MSVCRT headers.
2001-04-10 23:23:31 +00:00
François Gouget
5051020e9f
Added better support for Unicode:
...
Added support for 16-bit wchar_t
Added support for rewriting 4-byte Unicode literals to 16bit Unicode
2000-12-19 04:50:49 +00:00
François Gouget
89c476f9d6
_str{dec,inc}: Cast the parameters to the proper type first
...
Added definitions for _tfinddata*
2000-12-19 02:10:07 +00:00
Francois Gouget
0c247ec775
Fixed typos in comments.
2000-11-07 20:30:50 +00:00
Francois Gouget
8b7f04d616
Removed the ';' ending on lines using the DECL_WINELIB_TYPE_AW and
...
WINELIB_NAME_AW macros.
2000-10-03 04:10:42 +00:00
Damyan Ognyanoff
a3fcb47f2b
Remove some obsolete #define's - strlwr and strupr are in NTDLL now.
2000-08-11 12:50:11 +00:00
Francois Gouget
ba40e4c208
Moved the definition of PTSTR and LPTSTR from tchar.h to winnt.h.
2000-03-19 12:45:28 +00:00
Francois Boisvert
87b81de0bc
Implemented the Win95 file open/save dialogs.
1999-07-27 16:20:36 +00:00
Patrik Stridvall
a9a671d7ca
Fixed ANSI compabillity.
1999-04-25 19:01:52 +00:00
Jim Aston
2e1cafa288
Renamed wintypes.h to windef.h.
1999-03-14 16:35:05 +00:00
Alexandre Julliard
a396029270
Large-scale renaming of all Win32 functions and types to use the
...
standard Windows names.
1999-02-26 11:11:13 +00:00
Alexandre Julliard
894077f402
Authors: Albert Den Haan <albertd@corel.ca>, Adrian Thurston <athursto@corel.ca>, Paul Quinn <paulq@corel.ca>, Zygo Blaxell <zygob@corel.ca>
...
Miscellaneous patches to header files. All of these are supposedly there
to help build Winelib applications.
1999-02-10 06:48:49 +00:00
Alexandre Julliard
8da12c43a9
Group commit for recovery after disk crash.
...
See Changelog for changes WRT release 990110.
1999-01-17 16:55:11 +00:00
Francois Gouget
0149b20b6e
Provides the mappings. MBCS and Unicode functions are not implemented.
...
Standard (SBCS) functions may exist or not, with the same or a different
semantics.
1998-12-26 11:50:11 +00:00