Wykres commitów

8 Commity (master)

Autor SHA1 Wiadomość Data
Chris Bagwell 5061c2d5b2 More mingw portability updates.
Add check for winsock2.h for socket.h replancement. Also, use this
check to add ws2_32 library. Also, switch all winsock.h references
to winsock2.h.

Add check for getuid and getpass; which are not on mingw.

Add a syslog() replacement that is basically a print(). This
is also used by vsyslog() replacement.

Comment out parts of replacement sigprocmask.c on mingw.

To support these configure.in changes, I need to rebuild all
related files with autoconf 2.68 and libtool 2.4. Hand ported
our sane-backend specific changes to newer ltmain.sh.
2011-11-06 12:40:00 -06:00
Chris Bagwell 9bdff1dbdf mingw32 compile fixes
The following updates were made to all directories but backends.
That still needs work. There are also still some pthread issues
and syslog is missing.

 Windows doesn't support SIGHUP or SIGPIPE so make that optional.
 Only include socket header files when sys/socket.h is detected.
 Use winsock.h on windows.
 Only include syslog.h when vsyslog() was detect by configure.
 Skip FD_CLOEXEC when not supported by OS (not defined).
 Only include sys/ioctl.h on platforms that define it.
2011-11-05 11:19:34 -05:00
Henning Geinitz 65df843b33 Only use inet_ntoa if it's available.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-02-14 19:53:37 +00:00
Henning Geinitz f41f349a16 Removed OS/2 kludge: it's not necessary.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-02-08 21:51:45 +00:00
Henning Geinitz d439aa7678 Fixed problem with header include order on Irix.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-27 15:11:44 +00:00
Henning Geinitz 382b9e86e9 Changed order of includes for OS/2 compatibility again.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-10 23:35:46 +00:00
Henning Geinitz da933d93d1 Changed order of includes for OS/2 compatibility.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-10 20:48:24 +00:00
Henning Geinitz 3c34b9da05 Added implementation of inet_ntop() for platforms withouth this
function based on inet_ntoa.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-06 20:43:10 +00:00