Wykres commitów

5 Commity (pixma-add-canon-ts-3400-series)

Autor SHA1 Wiadomość Data
Olaf Meeuwissen 23891a2646 .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
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 0064ad99fc Use u_int32_t instead of in in_addr_t which isn't defined at least for OS/2.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-02-19 19:30:47 +00:00
Henning Geinitz b6b3496b00 Added wrapper for inet_pton(). If this function is not available, try first
inet_aton() and then inet_addr().
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-02-14 19:34:52 +00:00