| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2010.06.18 18:21 "Re: [PATCH] Build tif_win32.c on Windows except on Cygwin", by Bob FriesenhahnOn Fri, 18 Jun 2010, Adam Goode wrote:
>>
>> That would be a nice patch.
>
> Here's a patch, can someone apply it?
>
> diff --git a/configure.ac b/configure.ac
> index 954a0c5..2d8743b 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -147,6 +147,18 @@ AC_TYPE_SIZE_T
> AC_HEADER_TIME
> AC_STRUCT_TM
>
> +dnl Check for Win32 IO: make sure we have windows.h but not cygwin
> +case "${host_os}" in
> + cygwin*)
> + win32_io_ok=no
This bit seems wrong in the case where Cygwin is used to build a
native Windows (MinGW) application. It is also wrong for a MinGW
cross-compiler. The target OS should be what matters.
Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
|
|||||||