diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-10-29 19:35:33 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-10-29 19:35:33 +0000 |
commit | 6d8c3d4eb3bcd7ffe55af60e02e2c64a35b5f91a (patch) | |
tree | d23bf9402b4c47d43b8d951775c09ae6b895fe45 /src/bin/psql/common.c | |
parent | 5bd06b236f29c052af01e40baa4fa19c74ce4078 (diff) | |
download | postgresql-6d8c3d4eb3bcd7ffe55af60e02e2c64a35b5f91a.tar.gz postgresql-6d8c3d4eb3bcd7ffe55af60e02e2c64a35b5f91a.zip |
Add popen/pclose -> _popen/_pclose() mapping for Win32.
Diffstat (limited to 'src/bin/psql/common.c')
-rw-r--r-- | src/bin/psql/common.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/bin/psql/common.c b/src/bin/psql/common.c index f67c9a64443..55af65a3ae1 100644 --- a/src/bin/psql/common.c +++ b/src/bin/psql/common.c @@ -3,10 +3,9 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.50 2002/10/24 01:33:50 momjian Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.51 2002/10/29 19:35:33 momjian Exp $ */ #include "postgres_fe.h" - #include "common.h" #include <errno.h> @@ -27,9 +26,6 @@ #ifndef WIN32 #include <sys/ioctl.h> /* for ioctl() */ -#else -#define popen(x,y) _popen(x,y) -#define pclose(x) _pclose(x) #endif #ifdef HAVE_TERMIOS_H |