Re: snprintf.c on win32 does not compile..

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>
Cc: "PostgreSQL-patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: snprintf.c on win32 does not compile..
Date: 2005-02-28 11:40:58
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE4769F0@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-patches by date

  From Date Subject
Next Message Nicolai Tufar 2005-02-28 13:27:14 Re: snprintf causes regression tests to fail
Previous Message Peter Eisentraut 2005-02-28 10:03:15 Re: snprintf.c on win32 does not compile..