Re: Autoconf, libpq and replacement function
| От | Tom Lane |
|---|---|
| Тема | Re: Autoconf, libpq and replacement function |
| Дата | |
| Msg-id | 8304.1227216651@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Autoconf, libpq and replacement function (Magnus Hagander <magnus@hagander.net>) |
| Ответы |
Re: Autoconf, libpq and replacement function
Re: Autoconf, libpq and replacement function |
| Список | pgsql-hackers |
Magnus Hagander <magnus@hagander.net> writes:
> AFAICS, we're not doing this for any other functions though - or am I
> too tired and just looking in the wrong place? Or is that because
> they're just function definitions and not #defines?
> (I want to be sure to stick whatever new file there is in the same place..)
src/include/rusagestub.h is doing things more or less this way.
Also, right now we have got
src/include/getaddrinfo.h
src/include/getopt_long.h
which really make me itch now that I am contemplating the possibility
that we try to use libc-supplied code for these functions along with
our own header definitions.
I think the reason we've avoided putting such stuff into include/port/
is that right now that directory consists exclusively of OS-specific
files. Maybe we need another include subdirectory?
regards, tom lane
В списке pgsql-hackers по дате отправления: