mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-18 18:44:06 +08:00
Add comment about portability function name inconsistency.
This commit is contained in:
parent
109d7aff73
commit
26f6111dd9
@ -6,7 +6,7 @@
|
||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/port.h,v 1.52 2004/08/12 18:32:43 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/include/port.h,v 1.53 2004/08/17 14:38:38 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -124,6 +124,8 @@ extern off_t ftello(FILE *stream);
|
||||
/*
|
||||
* WIN32 doesn't allow descriptors returned by pipe() to be used in select(),
|
||||
* so for that platform we use socket() instead of pipe().
|
||||
* There is some inconsistency here because sometimes we require pg*, like
|
||||
* pgpipe, but in other cases we define rename to pgrename just on Win32.
|
||||
*/
|
||||
#ifndef WIN32
|
||||
#define pgpipe(a) pipe(a)
|
||||
|
Loading…
Reference in New Issue
Block a user