Re: Small changes to facilitate Win32 port

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Small changes to facilitate Win32 port
Дата
Msg-id Pine.LNX.4.44.0205311631070.839-100000@localhost.localdomain
обсуждение исходный текст
Ответ на Small changes to facilitate Win32 port  (Katherine Ward <kward6@yahoo.com>)
Список 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@gmx.net



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Ron Snyder
Дата:
Сообщение: Re: Can't import large objects in most recent cvs (2002
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Perl build fix attempted