Re: snprintf.c on win32 does not compile.. - Mailing list pgsql-patches

From Magnus Hagander
Subject Re: snprintf.c on win32 does not compile..
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE4769F0@algol.sollentuna.se
Whole thread Raw
In response to snprintf.c on win32 does not compile..  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-patches
> > .... there is no sys/ioctl.h. Trivial patch below:
>
> I don't think this header is needed on any platform.  If it
> were, you certainly couldn't just remove it.

Not so. On win32 we pull in <windows.h>, which contains a lot of the
definitions that are present in various other header files on unix.

It's possible it's not needed on other platforms, but the fact that I
can remove it on win32 does not prove that.


//Magnus

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: snprintf.c on win32 does not compile..
Next
From: Peter Eisentraut
Date:
Subject: Re: snprintf.c on win32 does not compile..