Commit Graph

139 Commits

Author SHA1 Message Date
Grazvydas Ignotas 4419edd79c port.h: Make use of compiler support for 32bit atomic ops. 2015-05-12 15:44:56 +09:00
Alexandre Julliard 509364e1dd makefiles: Get rid of Make.rules. 2014-01-14 12:18:02 +01:00
Alexandre Julliard e9afeb2a50 makefiles: Automatically add dll flags where necessary. 2014-01-01 21:33:06 +01:00
Stefan Dösinger 9138dce367 libport: Include stdlib.h on MSVC for getenv. 2013-12-19 17:30:29 +01:00
Francois Gouget e4856dbb70 libport: Add an isfinite() implementation for Solaris. 2013-11-29 17:58:40 +01:00
Alexandre Julliard e318b4a59c makefiles: Move the static library rules to the global Make.rules file. 2013-10-09 11:25:04 +02:00
Alexandre Julliard 8d5b8b1346 makefiles: Define __WINESRC__ globally. 2013-10-07 10:48:04 +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
Alexandre Julliard 3a4281708a libport: Always include the interlocked_cmpxchg128 fallback. 2013-01-17 12:21:14 +01:00
Alexandre Julliard cf66a1f0ee libport: Implemented the interlocked_cmpxchg128 function for ARM64. 2013-01-16 12:35:42 +01:00
André Hentschel c2ef2edf85 libport: Implemented the interlocked_cmpxchg128 function for ARM64. 2013-01-16 12:34:30 +01:00
Alexandre Julliard af59e6f1b7 configure: Get rid of the check for strings.h. 2013-01-09 12:25:14 +01:00
Alexandre Julliard 61768c0775 configure: Get rid of the check for getpagesize. 2013-01-09 12:23:02 +01:00
Alexandre Julliard 551077ab73 configure: Check for getopt_long_only instead of getopt_long.
Some platforms have the latter but not the former.
2012-11-08 10:57:09 +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
Ken Thomases fda27ccc1b libport: For spawnvp(_P_DETACH, ...), double-fork to avoid creating zombies. 2011-12-01 10:45:26 +01:00
Ken Thomases 8780571698 libport: No need to reset SIGCHLD because we're not changing it anymore. 2011-12-01 10:11:01 +01:00
Alexandre Julliard 57765b8c30 libport: Don't clear the buffer on failure in mkstemps. 2011-05-26 12:21:02 +02:00
Stefan Dösinger a774152f1a port: Add isinf and isnan implementations for Visual Studio. 2011-05-25 12:25:38 +02:00
André Hentschel ff2b5c4535 libport: Remove Alpha support. 2011-04-20 13:09:30 +02:00
Alexandre Julliard 13eafa047d configure: Get rid of the replacement function for gettid. 2010-12-27 12:08:37 +01:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
André Hentschel fd5b4f4c0c libs/port: Add support for amd64-mingw32msvc platform. 2010-05-28 12:31:13 +02:00
Alexandre Julliard 671eb84f9e libport: Make cfi annotations optional for x86_64. 2010-04-12 12:37:32 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Marcin Baczyński bb9c9264c8 libport: Remove superfluous void* cast. 2010-01-07 17:59:57 +01:00
Alexandre Julliard 305d4bfdd8 libport: Remove unnecessary function prototypes. 2009-10-07 15:04:47 +02:00
Colin Fowler c741ad7dde libport: Add generic interlocked instruction support fallback. 2009-09-26 16:06:04 +02:00
Detlef Riekenberg c8d860b31e libs/port: use gcc compatible asm code as default for __i386__ (for PCC). 2009-09-15 16:41:24 -05:00
Alexandre Julliard 192fcc5bb3 libport: Added an interlocked_cmpxchg128 function for 64-bit. 2009-09-01 12:39:17 +02:00
Alexandre Julliard 065287ed66 libwine: Add call frame annotations in x86 assembly code. 2009-06-25 12:05:09 +02:00
Francois Gouget c0a672b19d port: Remove spaces before '\n's. 2009-03-09 12:05:38 +01:00
Alexandre Julliard e5ad41bce3 libport: Check for ENOTSUP being defined before using it. 2008-12-27 20:06:28 +01:00
Alexandre Julliard 1399d14e0a libport: Avoid including winsock2.h. 2008-12-24 10:05:19 +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
Francois Gouget df949b4e86 port: Remove unneeded casts of zero. 2008-12-08 12:04:51 +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
Andrew Talbot 8ba539844b port: Remove superfluous semicolon. 2008-04-07 11:24:05 +02:00
Francois Gouget 63040e4d90 port: s/#if/#ifdef/ so it still works if HAVE_XXX is not defined. 2008-03-06 17:39:13 +01:00
Francois Gouget 8d8b44089d port/getopt: s/#if/#ifdef/ so it still works if HAVE_STRING_H is not defined. 2008-03-05 12:21:11 +01:00
Rob Shearman 0c694d710e makefiles: Split AR into AR and ARFLAGS. 2008-03-04 20:55:24 +01:00
Rob Shearman 7cb2ced97d libport: Undefine strcasecmp and strncasecmp in case they are defined to stricmp and strnicmp respectively. 2008-03-04 12:02:26 +01:00
Rob Shearman 1279cf3597 libport: Use configure guards for include files that may not be present. 2008-02-13 16:42:05 +01:00
Alexandre Julliard be32b3413c libport: Work around Mac OS execve() breakage. 2007-11-19 14:57:27 +01:00
Alexandre Julliard d1f7d2c683 libwine_port: Implemented interlocked_cmpxchg64 for x86_64. 2007-02-05 21:47:29 +01:00
Damjan Jovanovic 7e7ff40769 libwine_port: Added interlocked_cmpxchg64. 2007-02-05 21:43:42 +01:00
Joel Parker 2319999a05 Remove redundant semicolons for ANSI compatibility. 2007-01-17 11:58:15 +01:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard eb2bedc56d libport: Fixed invalid lvalue accesses in memmove. 2006-08-01 19:35:52 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Millan 55b74483de configure: For sys/mount.h, sys/statfs.h and sys/vfs.h, always include
them if present.
2006-02-06 21:53:27 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Alexandre Julliard 43c6396e94 Use int instead of long in interlocked_* functions for 64-bit
compatibility.
2005-09-26 13:51:58 +00:00
Kevin Koltzau da6f8fac77 Add x86_64 interlocked functions. 2005-07-18 09:11:52 +00:00
Robert Lunnon c0cb4d352b Implement futimes for Solaris using futimesat. 2005-05-07 14:53:38 +00:00
Hans Leidekker c3de6ef38f Add ffs() to porting library, needed by MinGW. 2004-10-19 23:53:26 +00:00
Vincent Béron 2c1b35dd17 Add some more Alpha asm code and Alpha-specific parts. 2004-10-18 21:27:52 +00:00
Vincent Béron e5fdc454a4 Implement interlocked* and wine_switch_to_stack for Alpha. 2004-10-11 19:50:52 +00:00
Jeremy White f9d6fa9ef4 Need to include sys/time.h. 2004-10-07 17:36:17 +00:00
Alexandre Julliard efb8be7e82 Added a fallback implementation of futimes. 2004-10-07 04:25:05 +00:00
Alexandre Julliard e77c9be0dc Added support for fstatvfs. 2004-04-06 03:33:25 +00:00
Alexandre Julliard 86a8f4cd3c Check that we have statfs before using it. 2004-03-10 01:55:12 +00:00
Alexandre Julliard b859a68682 Added check for f_namelen in struct statfs. 2004-03-07 03:16:43 +00:00
Alexandre Julliard 13af489103 Use statvfs instead of statfs, and provide a default implementation in
libwine_port if necessary.
2004-03-05 21:03:46 +00:00
Alexandre Julliard 69063fa035 Don't build getopt at all if it's not needed. 2004-02-13 22:41:32 +00:00
Alexandre Julliard e293074100 Added configure check for readlink. 2004-01-08 05:07:05 +00:00
Alexandre Julliard b2d937d5d9 Added sigsetjmp/siglongjmp and gettid to the portability library. 2003-11-12 03:16:00 +00:00
Daniel Marmier f95be92d24 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-15 03:35:54 +00:00
Alexandre Julliard 16cd86197a Moved DLLFLAGS to a separate variable instead of including it in
DEFS.
2003-09-24 19:01:44 +00:00
Pavel Roskin 7add08a303 Added configure check for spawnvp(). 2003-09-24 18:54:40 +00:00
Jon Griffiths 70217641e3 Portability fix. 2003-09-24 05:12:14 +00:00
Jon Griffiths 09fefeed7a Not everyone has <unistd.h>, some files need <io.h> too (msvc). 2003-09-23 22:54:57 +00:00
Alexandre Julliard a203421581 Don't build memcpy_unaligned on 386 to avoid MSVC breakage (reported
by Jon Griffiths).
2003-08-25 23:45:34 +00:00
Jon Griffiths d7eea36441 MSVC doesn't like K&R function declarations: use ansi instead. 2003-07-19 03:03:05 +00:00
Marcus Meissner b15ff0725b Added isync to the interlocked functions. 2003-07-02 04:29:33 +00:00
Alexandre Julliard fa9af1d0dc Reset SIGCHLD handler to default if we need to wait. Reset SIGPIPE
handler before exec.
2003-05-21 18:34:29 +00:00
Pierre d'Herbemont c5bb73038b Add register preservation when using lawrx instruction.
Fix ';' ending to '\n' ending for a better compatibility with darwin.
2003-05-04 02:26:53 +00:00
Dimitrie O. Paun 6cd88fe697 Add spawnvp to the portability lib. 2003-04-02 05:20:12 +00:00
Alexandre Julliard 8d7b8e573f Portability fixes. 2003-03-23 20:11:45 +00:00
Alexandre Julliard 195574e2d8 Added memcpy_unaligned to libwine_port. 2003-03-20 23:44:36 +00:00
Alexandre Julliard 108a69bd2f Moved interlocked functions to libwine_port. 2003-03-20 22:06:16 +00:00
Alexandre Julliard 2ee8b5bb13 Replaced mkstemp by mkstemps from libiberty.
Removed a couple of unnecessary portability functions.
2003-03-20 21:07:49 +00:00
Alexandre Julliard 7ac91c7401 Added getopt routine to libwine_port (based on a patch by Dimitrie
O. Paun).
2003-03-19 22:44:55 +00:00
Alexandre Julliard 6a9fe36de2 Created a separate static portability library and moved some of the
libwine routines in there.
2003-03-19 22:09:16 +00:00