<server/c.h> (a file that gets included in a user's server extension
compilation) contains the line

  # if _MSC_VER > 1400

In the compiler is not Microsoft C at all, _MSC_VER is undefined, and in some
environments, the reference to it is an error (e.g. Gcc with -Wundef -Werror).

So that this header file can work in all environments, it should have an
#ifdef.

I see this in Postgres 8.4.3.

-- 
Bryan Henderson                                   San Jose, California

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to