Commit Graph

117 Commits

Author SHA1 Message Date
Alexandre Julliard fb4c127705 libport: Don't build some functions that aren't needed on Windows.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Alexandre Julliard 817fb9755c configure: Hardcode some functions for Windows platforms.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Alexandre Julliard 4d4c55d061 configure: Hardcode some types for Windows platforms.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Alexandre Julliard 667bc336fe configure: Hardcode some headers for Windows platforms.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Alexandre Julliard 47c440a8a9 libport: Remove checks for strerror().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 19:47:35 +01:00
Alexandre Julliard 4fcd86e17d libport: Remove checks for memmove().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 19:47:21 +01:00
Alexandre Julliard 25e4cfbdb3 libport: Get rid of memcpy_unaligned().
The code that uses it is no longer built on non-i386.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 19:47:02 +01:00
Alexandre Julliard 9d36aad457 libport: Add a replacement implementation for strnlen.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-15 11:00:36 +01:00
Alex Henrie 06d9c7e25e libport: Move rint fallback implementations from msvcrt to libport.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-08 20:39:04 +01:00
Grazvydas Ignotas af6066c288 port.h: Make use of compiler support for pointer atomic ops. 2015-05-12 15:45:06 +09:00
Grazvydas Ignotas ae8408f147 port.h: Make use of compiler support for 64bit atomic ops. 2015-05-12 15:45:01 +09:00
Grazvydas Ignotas 4419edd79c port.h: Make use of compiler support for 32bit atomic ops. 2015-05-12 15:44:56 +09:00
Francois Gouget 6f22057c21 libport: Fix the detection of isfinite(). 2013-12-05 12:40:57 +01:00
Francois Gouget e4856dbb70 libport: Add an isfinite() implementation for Solaris. 2013-11-29 17:58:40 +01:00
André Hentschel 128bfdf6da include: Don't redefine _GNU_SOURCE. 2013-09-20 11:24:51 +02:00
André Hentschel bd5422406d include: Check for getopt_long_only instead of getopt_long. 2013-06-17 13:34:40 +02:00
Alexandre Julliard 43ac582d7d libport: Rename spawnvp to _spawnvp to avoid the deprecated name. 2013-04-09 15:26:10 +02:00
André Hentschel cf195437c6 include: Make sure interlocked_cmpxchg128 is defined on ARM64. 2013-01-21 12:50:58 +01:00
André Hentschel 0066f31ef7 include: Fix __int64 definition for ARM64. 2013-01-21 12:14:43 +01:00
Alexandre Julliard 61768c0775 configure: Get rid of the check for getpagesize. 2013-01-09 12:23:02 +01:00
Alexandre Julliard 487c50c1e7 ntdll: Remove futimes implementation from libport, it's only needed in ntdll. 2012-10-30 18:08:11 +01:00
Thomas Faber cb8af0152c port.h: Add INFINITY macro. 2012-06-18 11:59:41 +02:00
Michael Stefaniuc 2e3c0d86cf include: Move "inline" right after the storage specifier. 2012-06-05 11:50:50 +02:00
Jacek Caban 91b89133a9 port.h: Added NAN macro. 2012-05-29 18:20:13 +02:00
Alexandre Julliard 13eafa047d configure: Get rid of the replacement function for gettid. 2010-12-27 12:08:37 +01:00
Yann Droneaud b7d321769c include: Rewrote some extern inline to static inline. 2010-05-07 14:21:34 +02:00
Alexandre Julliard 192fcc5bb3 libport: Added an interlocked_cmpxchg128 function for 64-bit. 2009-09-01 12:39:17 +02:00
Eric Pouech bc56c4eab3 configure: Check for large filesystems support. 2009-08-26 11:58:32 +02:00
Alexandre Julliard 857f1e0924 configure: Detect the appropriate form for the __ASM_GLOBAL_FUNC macro. 2009-06-11 17:36:32 +02:00
Steven Edwards 3d0c0429ad include: Add check to asm macro for Windows Services for Unix/Subsystem for Unix applications. 2009-03-02 13:59:42 +01:00
Alexandre Julliard 3ece9e9002 include: Move the DEFINE_REGS_ENTRYPOINT macros to the dlls that use it. 2008-12-27 19:47:46 +01:00
Alexandre Julliard dc1a9f19c1 libport: Replacement for poll(). 2008-12-22 18:00:13 +01:00
Alexandre Julliard 0fbd55696c libport: Add a stub replacement for symlink(). 2008-12-22 11:38:39 +01:00
Alexandre Julliard 921e6624ad configure: Better check for the broken mkdir on Windows. 2008-12-22 10:39:11 +01:00
Francois Gouget 67d5a4de70 port: S_IWUSR and S_IX* are not needed. Remove them. 2008-12-15 12:25:05 +01:00
Alexandre Julliard 53e165716d configure: Add a wrapper macro for mkdir on Windows. 2008-12-09 16:15:18 +01:00
Alexandre Julliard f06d99f67a include: Implemented inline asm functions for x86_64. Export Interlocked* only on i386. 2008-12-08 19:25:25 +01:00
Jacek Caban 1715dcbb19 libport: Added isnan. 2008-10-15 12:22:19 +02:00
Alexandre Julliard 10e795a091 libport: Move the sigsetjmp replacement to exception.h to make it available for Winelib too. 2008-05-26 19:23:43 +02:00
Petr Sumbera 4992b6590e port: Add alternative for isinf. 2008-04-30 13:45:23 +02:00
Rob Shearman e9f5bce333 Add configure check for strtoll and strtoull.
Define these to _strtoi64 and _strtoui64 if these are available instead.
2008-03-04 12:01:59 +01:00
Bang Jun-young ff96bd6aec configure: Add check for presence of _strdup() and strdup(). 2007-10-16 09:37:19 +02:00
John Klehm 3c3a879a86 include: Allow port.h to build on gcc4. 2007-06-15 12:03:23 +02:00
Francois Gouget 41b099172f port.h: Issue an error if port.h is included after the regular Wine headers. 2007-05-23 13:43:56 +02:00
Damjan Jovanovic 7e7ff40769 libwine_port: Added interlocked_cmpxchg64. 2007-02-05 21:43:42 +01:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard cfe45cc130 Get rid of the no longer needed DECL_GLOBAL_CONSTRUCTOR macro. 2006-01-14 17:08:52 +01:00
Vincent Béron a17528cd0d Fix warning about memmove re#definition. 2005-11-04 11:14:22 +00:00
Alexandre Julliard 43c6396e94 Use int instead of long in interlocked_* functions for 64-bit
compatibility.
2005-09-26 13:51:58 +00:00
Alexandre Julliard 89024a63d3 Make the users of wine_call_from_32_regs save %eax so that we don't
need a special hack in the import thunk.
Added a get_pc_thunk_eax function to simplify the code a bit.
2005-09-18 11:13:54 +00:00