Commit Graph

72 Commits

Author SHA1 Message Date
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
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