Update Win32 builds to mostly work under Cygwin.
authorMichael Poole <mdpoole@troilus.org>
Thu, 24 Apr 2008 11:29:24 +0000 (07:29 -0400)
committerMichael Poole <mdpoole@troilus.org>
Thu, 24 Apr 2008 11:29:24 +0000 (07:29 -0400)
commit04f8402c636b06a3b3ed3c109b86a5cacf7b5318
treeef567f8bc5fcef763ee9ce33f30500a9091bd6a1
parent51f30f56bff7e6ab410e1d353acb2a3f23c7cfc7
Update Win32 builds to mostly work under Cygwin.

Makefile.win32: Add -mno-cygwin to LDFLAGS so native Cygwin builds work.
configure.in: Look for stdint.h, localtime() and --with-win32.
src/compat.c: Remove "extern" modifiers on function definitions. Only
  implement localtime_r() if we have localtime() too.
src/compat.h: Include stdint.h if we have it; define LINE_MAX if needed.
  Also define NI_NUMERICHOST for the benefits of getnameinfo().
src/config.h.win32: Resynchronize with config.h.in; set WITH_IOSET_SELECT
  and WITH_PROTOCOL_P10.
Makefile.win32
configure.in
src/compat.c
src/compat.h
src/config.h.win32