Commit Graph

65 Commits

Author SHA1 Message Date
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
Alexandre Julliard 60a8fcf4b0 Avoid using socklen_t. 2004-09-16 20:34:27 +00:00
Alexandre Julliard 754e7aa788 Added configure check for socklen_t. 2004-09-03 18:30:28 +00:00
Pierre d'Herbemont 552b06a0a4 Don't use .previous instruction on Darwin. 2004-06-14 17:00:38 +00:00
Hans Leidekker dc61a30bcc MinGW portability fix. 2004-06-03 00:09:54 +00:00
Alexandre Julliard 910234eafb Pass the environ variable from main to try to avoid Darwin's
_NSGetEnviron() ugliness.
2004-05-29 00:26:03 +00:00
Alexandre Julliard a8877ba6dc Make sure __ASM_GLOBAL_FUNC generates code in the text segment. 2004-05-28 19:30:25 +00:00
Alexandre Julliard 2dff1fe1e5 Moved environ definition to port.h. 2004-05-25 18:05:39 +00:00
Dmitry Timoshkov d996f60c0d Add some compatibility macros. 2004-04-22 23:45:47 +00:00
Alexandre Julliard e77c9be0dc Added support for fstatvfs. 2004-04-06 03:33:25 +00:00
Alexandre Julliard 63fae64558 Added definitions for S_IXUSR, S_IXGRP and S_IXOTH. 2004-03-10 01:54:39 +00:00
Alexandre Julliard f8c24212ae Added statvfs prototype. 2004-03-09 19:22:08 +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
Steven Edwards ae9ce86324 Windows porting fix - Define O_NONBLOCK if not defined. 2004-02-12 22:39:18 +00:00
Alexandre Julliard e293074100 Added configure check for readlink. 2004-01-08 05:07:05 +00:00
Alexandre Julliard e85491274d Moved the DEFINE_REGS_ENTRYPOINT macros to include/wine/port.h.
Removed the C fallback code, do that in the callers instead.
2003-12-04 05:48:03 +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
Dmitry Timoshkov 2581db8f6a Fixed some problems found while compiling and linking Wine under
Cygwin.
2003-10-14 05:27:43 +00:00
Pavel Roskin 7add08a303 Added configure check for spawnvp(). 2003-09-24 18:54:40 +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
Casper Hornstrup 601cdc939c Define constants of M_PI & M_PI_2. 2003-07-15 20:45:49 +00:00
Alexandre Julliard db89a54bf4 Check for struct option independently of the getopt_long check. 2003-04-20 02:56:14 +00:00
Dimitrie O. Paun 6cd88fe697 Add spawnvp to the portability lib. 2003-04-02 05:20:12 +00:00
Alexandre Julliard 5537dbbf40 Replaced WINE_CHECK_STRUCT_MEMBER autoconf macro by the standard
AC_CHECK_MEMBERS. Added check for si_fd in siginfo_t.
2003-03-28 00:36:12 +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
Steven Edwards be514b908e Check for vsnprintf and _vsnprintf, and define vsnprintf with
_vsnprintf if needed.
2003-01-14 19:35:03 +00:00
Alexandre Julliard 9534d4f0fe Added wine_memcpy_unaligned function to avoid gcc memcpy
optimizations.
2002-10-18 00:27:38 +00:00
Alexandre Julliard cd6b50e732 Moved the #ifdefs for the getnetby* etc. functions directly into the
winsock implementation to avoid having to redefine the data structures
in port.h.
2002-07-31 23:20:47 +00:00
Marcus Meissner 786d24903b Check for mkstemp, added a port implementation if it is not
present. Use mkstemp() in various places needing tmp files.
2002-07-29 23:55:39 +00:00
Alexandre Julliard 84555cc771 Generate the __ASM_NAME and __ASM_FUNC macros directly from
configure.
Simplified the WINE_TRY_ASM_LINK test.
Moved DECL_GLOBAL_CONSTRUCTOR to wine/port.h.
2002-07-22 20:51:02 +00:00
Gregg Mattinson 57807fa11f Added checks for __sparc__, __sun__ and @function. 2002-07-20 20:17:13 +00:00
Alexandre Julliard 7fbd74ea55 Replaced the GET/PUT_UA macros by memcpy. Fixed a few big-endian
issues.
2002-05-23 02:53:10 +00:00
Steven Edwards 0a8e15abfb Detect snprintf && _snprintf, use _snprintf on stupid platforms
(windows).
2002-05-10 01:33:40 +00:00
Steven Edwards b9627c1486 Check for and use chsize instead of ftruncate if present. 2002-05-05 21:03:44 +00:00
Alexandre Julliard 5769d1de00 Better support for configure detection of missing types, added check
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +00:00
Alexandre Julliard 894b188fcf Moved __ASM_GLOBAL_FUNC macros and interlocked functions to port.[ch] 2002-04-25 21:40:56 +00:00
Patrik Stridvall 136fae57c3 - Better handling when settimeofday is not available.
- Adding name translations for p{close,open} and str{,n}casecmp if
  they exists under other names.
2002-03-11 05:08:38 +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
Alexandre Julliard f1a0de996a Added configure check for pread/pwrite. 2002-01-07 21:00:27 +00:00
Alexandre Julliard 3f510ad2bb Link with libutil only where needed. 2002-01-01 01:13:03 +00:00
François Gouget 1425941e29 Fix the #include order for config.h.
Add #include "config.h" directives where needed.
2001-11-06 20:57:11 +00:00