Commit Graph

111 Commits

Author SHA1 Message Date
Alexandre Julliard
35389149de Export the debug API as functions instead of pointers.
A few other import fixes for Mingw.
2002-05-19 22:29:01 +00:00
Alexandre Julliard
844968c495 Added check for numeric ids and null pointers (thanks to Dimitrie). 2002-05-17 04:17:48 +00:00
Alexandre Julliard
6044307c3a A few fixes for mingw cross-compilation. 2002-05-17 03:31:08 +00:00
Alexandre Julliard
0aa28b5b8d Export the debugging API from libwine instead of ntdll.
Removed debugres_[aw].
2002-05-17 02:55:48 +00:00
Alexandre Julliard
702b158e70 Export global argc/argv variables from libwine and remove the
__wine_get_main_args functions from ntdll.
2002-05-16 23:16:01 +00:00
Alexandre Julliard
59008670be Moved the selector access functions out of winnt.h into libwine. 2002-05-16 20:32:16 +00:00
Alexandre Julliard
c3e06df941 Portability fixes. 2002-05-14 23:18:23 +00:00
Alexandre Julliard
fc01b729f6 Added some support for cross-compilation using mingw32. 2002-05-12 03:16:39 +00:00
Alexandre Julliard
ce830a9c18 Added mkinstalldirs to create directories more portably. 2002-05-09 04:31:39 +00:00
Alexandre Julliard
3944090eb9 Don't need to reference external errno since non-reentrant Xlib is no
longer supported.
2002-05-08 00:41:43 +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
Alexandre Julliard
bc23ae6df3 Make dlopen_dll return an error immediately if the library exists but
dlopen() fails.
2002-04-03 22:13:01 +00:00
Francois Gouget
0763abf115 Fix warnings for Linux, FreeBSD and Solaris. 2002-04-01 21:08:16 +00:00
Michal Pasternak
6098399a77 Fixed pack/unpack routines for WM_DDE_EXECUTE. 2002-03-29 18:04:43 +00:00
Alexandre Julliard
c1bfca04e1 Changed builtin dlls file names to make it clear they are not normal
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +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
Alexandre Julliard
562089b5d6 Link with libdl only where needed. 2001-12-31 22:28:35 +00:00
Bang Jun-Young
d0b304b956 Make use of solaris_try_mmap() for NetBSD. Rename it to
try_mmap_fixed() since it's no longer Solaris-specific.
2001-12-14 22:47:45 +00:00
Marcus Meissner
69c041761a Renamed struct option to struct debug_option to avoid compile problems
where struct option is already defined.
2001-11-06 22:24:02 +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
François Gouget
1526872b1f FALSE is not defined on Solaris. 2001-11-05 23:52:30 +00:00
Francois Gouget
386cf6e342 When including 'wine/port.h', include it first.
Remove redundant 'config.h' includes.
2001-10-14 16:25:47 +00:00
Gerald Pfeifer
714066157c Fix implicit type declarations. Add required cast. 2001-10-02 17:18:09 +00:00
Ulrich Weigand
c52a11efa5 Emulate the behaviour of Linux mmap() on Solaris. Based on ideas and
sample code due to Erik Boasson <eboasson@signaal.nl> and John Wehle
<john@feith.com>.
2001-09-07 18:46:14 +00:00
Pierre Beyssac
c942f9cc31 Force DPL 3 when setting entries on BSD. 2001-08-03 18:13:00 +00:00
Alexandre Julliard
ed2f19a63f Put AC_DEFINE symbols definitions directly in the configure script so
that we no longer need an acconfig.h. Cleaned up dlopen() tests a bit.
2001-06-27 21:42:00 +00:00
Marcus Meissner
6bb990f7fd Drop any file64 functions, try to use system supplied 64-bit mode by
using proper defines.
2001-05-29 20:55:21 +00:00
Francois Gouget
4506673cda Link libwine.so with $(LIBS). 2001-05-29 20:50:21 +00:00
Alexandre Julliard
5079214384 Warnings fixes. 2001-05-16 19:45:34 +00:00
Marcus Meissner
3f1ed52d8b Implemented 64bit file size handling.
Removed several unneeded sys/stat.h includes.
2001-05-14 20:09:37 +00:00
Alexandre Julliard
0f586c4444 Clear %ebp before entering the new thread. 2001-02-20 01:59:27 +00:00
Josh DuBois
169adf5c64 More verbose error messages when application load fails. 2001-02-13 20:23:45 +00:00
Alexandre Julliard
598412ed6a Cleaned up the various errno location tests in configure.
Added (h_)errno_location pointers in the library that allow remapping
the calls in higher level dlls.
Moved X11DRV_CritSection out of sysdeps.c and into x11drv.dll.
2001-01-17 20:22:22 +00:00
Andreas Mohr
a7ca2ba777 NetBSD 1.5 is lacking ecvt, fcvt, gcvt for crtdll. 2001-01-12 23:07:11 +00:00
Hidenori Takeshima
d48ca948cb Use dllwrap for building shared libraries in cygwin. 2000-12-22 22:28:00 +00:00
François Gouget
5e5c52d477 DUMMYSTRUCTNAME2 creates a conflict when using anonymous union names. 2000-12-19 23:31:52 +00:00
Alexandre Julliard
335b9e3be3 Include stdlib.h instead of wchar.h. 2000-12-19 19:38:48 +00:00
François Gouget
5051020e9f Added better support for Unicode:
Added support for 16-bit wchar_t
Added support for rewriting 4-byte Unicode literals to 16bit Unicode
2000-12-19 04:50:49 +00:00
Morten Welinder
a2d11df25b (strcasecmp): Conform to ANSI specs for toupper.
(strncasecmp): Ditto.  Also do not use side-effects in macro args.
(wine_openpty): Plug descriptor leak.  Always set errno on failure.
(wine_anon_mmap): Fix comment location.
2000-12-18 03:50:15 +00:00
James Abbatiello
e675887129 Work around glibc 2.1.x dlopen bug (again). 2000-12-13 21:32:55 +00:00
Alexandre Julliard
886604c715 Always pass lower-case filenames to wine_dll_load().
Clear dlerror() before and after calls to dlopen/dlsym to work around
a glibc bug (thanks to James Abbatiello for tracking the bug).
2000-12-05 21:17:59 +00:00
Dimitrie O. Paun
1ec253d205 Supply dummy getrlimit if absent. 2000-12-01 20:47:11 +00:00
Alexandre Julliard
27bb311d70 Added implementation of lstat to port.c. 2000-11-29 17:48:06 +00:00
Alexandre Julliard
914406f854 Moved LDT handling to libwine.so. Changed the interface to use the
exported LDT_ENTRY structure.
2000-11-14 01:54:49 +00:00
Francois Gouget
da0acca7d8 Use DUMMYxxxNAME for anonymous struct/unions. 2000-11-10 22:34:39 +00:00
Alexandre Julliard
591832ec2e Added support for loading a Winelib app linked as a .so from the wine
launcher, based on the value of argv[0].
2000-11-10 01:38:28 +00:00