Re: Small changes to facilitate Win32 port

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Katherine Ward <kward6(at)yahoo(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Small changes to facilitate Win32 port
Date: 2002-06-01 15:55:58
Message-ID: Pine.LNX.4.44.0205311631070.839-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Katherine Ward writes:

> A few of the identifier names used in postgres collide with WIN32 or MFC names.

Does Windows and/or MFC make any kind of statement about what kinds of
identifiers it reserves for its own use?

> b. GetUserName() => GetUserNameFromId()
> c. GetCurrentTime() => GetCurrentDateTime()

> a. MEM_FREE => MEM_FREE_IT in backend/utils/hash/dynahash.c
> b. IGNORE => IGNORE_TOK in include/utils/datetime.h & backend/utils/adt/datetime.c

It might be better to add PG prefixes consistently if there are clashes.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2002-06-01 15:57:50 Re: Perl build fix attempted
Previous Message Ron Snyder 2002-06-01 04:51:00 Re: Can't import large objects in most recent cvs (2002