Commit Graph

109 Commits

Author SHA1 Message Date
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
Alexandre Julliard 49b7fdcfc0 Removed the broken mmap64 configure check, and moved the
_FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
need the define include it.
2005-08-03 21:25:10 +00:00
Alexandre Julliard efcc2b83d8 Store a relative pointer for registry entry points to avoid some text
relocations.
2005-06-16 11:04:41 +00:00
Alexandre Julliard 26050b49d5 Prefix the internal name of all register functions with __regs_ for
better consistency and to make automated checking possible.
2005-05-07 18:10:30 +00:00
Rémi Assailly 88d049d102 Added missing declarations in some headers. 2005-01-11 10:46:58 +00:00
Hans Leidekker c3de6ef38f Add ffs() to porting library, needed by MinGW. 2004-10-19 23:53:26 +00:00
Alexandre Julliard 1da3b41093 Added forward declaration of struct timeval for futimes. 2004-10-11 20:22:06 +00:00
Alexandre Julliard efb8be7e82 Added a fallback implementation of futimes. 2004-10-07 04:25:05 +00:00
Martin Fuchs 895129eec2 Don't use ".previous" for Cygwin build. 2004-10-05 18:31:21 +00:00