diff options
author | Bruce Momjian <bruce@momjian.us> | 2006-06-07 22:24:46 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2006-06-07 22:24:46 +0000 |
commit | 399a36a75d2d06bfdb91402713d408271b4833ba (patch) | |
tree | b8391f6bda4680d37ac430c3270c67bde979d842 /src/bin/pg_dump/pg_backup_tar.c | |
parent | 877e296306a2017a18fc7086e9742c8ee3e0a665 (diff) |
Prepare code to be built by MSVC:
o remove many WIN32_CLIENT_ONLY defines
o add WIN32_ONLY_COMPILER define
o add 3rd argument to open() for portability
o add include/port/win32_msvc directory for
system includes
Magnus Hagander
Diffstat (limited to 'src/bin/pg_dump/pg_backup_tar.c')
-rw-r--r-- | src/bin/pg_dump/pg_backup_tar.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/bin/pg_dump/pg_backup_tar.c b/src/bin/pg_dump/pg_backup_tar.c index bb490e2aefb..5fa080b06ac 100644 --- a/src/bin/pg_dump/pg_backup_tar.c +++ b/src/bin/pg_dump/pg_backup_tar.c @@ -16,7 +16,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_tar.c,v 1.51 2006/05/22 11:21:54 petere Exp $ + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_tar.c,v 1.52 2006/06/07 22:24:44 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -27,10 +27,7 @@ #include <ctype.h> #include <limits.h> - -#ifndef WIN32_CLIENT_ONLY #include <unistd.h> -#endif static void _ArchiveEntry(ArchiveHandle *AH, TocEntry *te); static void _StartData(ArchiveHandle *AH, TocEntry *te); |