Commit graph

47 commits

Author SHA1 Message Date
Eric Pouech
c3e57fc3e4 include/basetsd.h: Define PtrTo(Ul|L)ong to return a long (as SDK does).
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-01 18:23:18 +01:00
Eric Pouech
f2e0c5cab2 include: Define HandleToU?Long to return a long (as SDK does).
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-31 18:38:55 +01:00
Alexandre Julliard
f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Alexandre Julliard
6b416a771d include: Use compatible header guard in basetsd.h.
libjpeg depends on this.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-13 13:39:20 +02:00
Timothy Pearson
3017cc0f15 include: Add PPC64 endianness.
Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-04 23:11:22 +01:00
Nikolay Sivov
14d2b04478 evr/mixer: Add SetOutputBounds().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-12 18:44:07 +02:00
Alexandre Julliard
0995117b50 include: Get rid of ALLOW_UNALIGNED_ACCESS.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-30 12:37:27 +02:00
Alexandre Julliard
a4c6ad6b1f include: Get rid of BITFIELDS_BIGENDIAN.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-30 12:37:27 +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
André Hentschel
f9727320da include: Add ARM64 endianness. 2013-01-16 12:29:29 +01:00
Dmitry Timoshkov
79969b6cc4 include/basetsd.h: Fix int64 to int truncation warnings when compiling with a 64-bit PSDK compiler. 2012-06-29 10:46:49 +02:00
Austin English
d67275fed8 include: Define _WIN64 on sparc/powerpc64. 2011-11-08 09:50:06 +01:00
André Hentschel
2b2c5f35ac include: Update a comment. 2011-05-12 14:23:15 +02:00
André Hentschel
a1950b9669 include: Fall back to little endian when it's not specified on ARM. 2011-05-11 14:56:48 +02:00
André Hentschel
a0dabd33e5 include: Add MIPS endianess. 2010-11-01 11:31:46 +01:00
André Hentschel
c1e6777527 include: Better distinguish ARM's endianess. 2010-11-01 11:31:37 +01:00
Rob Shearman
2906af597d include: Declare the *_PTR types on top of the __int3264 intrinsic IDL types for widl in basetsd.h. 2009-11-09 20:36:45 +01:00
André Hentschel
14d51867fe include: Add ARM endianess. 2009-09-22 17:09:29 +02:00
Jacek Caban
1b3f6474c8 basetsd.h: Added HANDLE_PTR and SHANDLE_PTR typedefs. 2009-04-01 14:23:32 +02:00
Alexandre Julliard
74d63c020c include: Fix the definition of 64-bit types for Mingw64. 2008-12-09 17:42:13 +01:00
Jon Griffiths
97709148c3 include/basetsd.h: Ignore cpu checks whn __midl is defined. 2008-06-30 15:00:08 +02:00
Dmitry Timoshkov
3a12fa9e50 include: Add HandleToUlong, UlongToHandle, UintToPtr, UlongToPtr compatibility macros. 2007-07-13 12:29:47 +02:00
Francois Gouget
a3317a5c01 Assorted spelling fixes. 2007-07-05 19:56:34 +02:00
Dmitry Timoshkov
3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Dmitry Timoshkov
0cfe42b7da basetsd.h: Fix a typo in the parameter name. 2007-05-23 13:04:52 +02:00
Dmitry Timoshkov
c365747e11 basetsd.h: Add a bunch of PSDK compatible macros/inline functions for 64-bit safe type conversions. 2007-05-21 19:10:57 +02:00
Alexandre Julliard
58c64190f4 configure: Define _WIN64 when building on a 64-bit platform. 2006-07-10 13:05:20 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard
bdf01c368d Define data types to the correct size on 64-bit platforms. 2005-09-22 10:58:04 +00:00
Kevin Koltzau
ca8c23034d Define x86_64 context. 2005-07-18 09:11:42 +00:00
Mike McCormack
a941fe710d Define KAFFINITY. 2005-06-27 09:49:56 +00:00
James Hawkins
ee8479596a Conditionally add DECLSPEC_ALIGN(8) to wine's 64-bit types and leave
the modifier off when compiling with msvc.
2005-02-18 12:56:35 +00:00
Vincent Béron
e990342ced Uniformize endianness definition. 2004-10-18 19:37:30 +00:00
Francois Gouget
dff5004bc0 Assorted spelling fixes. 2004-08-26 00:31:20 +00:00
Alexandre Julliard
47a88ba221 Explicitly specify alignment of 64-bit types. 2004-05-04 00:43:02 +00:00
Pierre d'Herbemont
7f3074d1d4 Change __PPC__ define to __powerpc__. 2003-07-15 20:46:40 +00:00
Alexandre Julliard
f602ec661d Properly import basetsd.h and guiddef.h. 2003-03-16 23:54:18 +00:00
Steven Edwards
31e4629085 Alpha porting fixes. 2002-12-10 19:04:45 +00:00
Dimitrie O. Paun
fb82973a71 Allow apps to define __int{8,16,32,64} on the command line. 2002-11-23 01:03:40 +00:00
Dmitry Timoshkov
472d016859 Correct SIZE_T size according to MS SDK.
Change some types to SIZE_T according to MS SDK definitions.
2002-09-21 01:21:00 +00:00
Alexandre Julliard
dd0bdbe44e Removed the __uint* types from basetsd.h since they don't exist under
Windows. Fixed a few other issues with type definitions.
2002-09-12 17:29:12 +00:00
Steven Edwards
6a28adb40f Fix for lots of warnings when building on Mingw32. 2002-08-27 00:32:43 +00:00
Alexandre Julliard
9f0ff1bfd2 Moved WORDS_BIGENDIAN macros to basetsd.h.
Fixed FILETIME definition for big-endian.
2002-05-29 02:02:19 +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
Patrik Stridvall
395e8bafc4 MSVC compile fixes. 2002-02-05 18:09:29 +00:00
Alexandre Julliard
83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Patrik Stridvall
2d0bb2a78c Started on an implementation of Win64 for use on 64 bit platforms. 1999-07-04 15:56:03 +00:00