diff options
| author | Bruce Momjian | 1997-02-14 04:19:07 +0000 |
|---|---|---|
| committer | Bruce Momjian | 1997-02-14 04:19:07 +0000 |
| commit | 31c8e94b34a4c9b6bde7fc4e8962954c42978a96 (patch) | |
| tree | 89fbc7f5e003e903728854c861f3ef9ffb0b0bda /src/utils | |
| parent | aaaba5a04868067828c3f7348972e6210847bbea (diff) | |
Remove WIN32 defines. They never worked.
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/version.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/utils/version.c b/src/utils/version.c index 84fcd34a89..47ef5684f6 100644 --- a/src/utils/version.c +++ b/src/utils/version.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/utils/Attic/version.c,v 1.3 1996/11/26 01:17:56 bryanh Exp $ + * $Header: /cvsroot/pgsql/src/utils/Attic/version.c,v 1.4 1997/02/14 04:19:07 momjian Exp $ * * NOTES * XXX eventually, should be able to handle version identifiers @@ -63,11 +63,8 @@ ValidatePgVersion(const char *path, char **reason_p) { int fd; char version[4]; char full_path[MAXPGPATH+1]; -#ifndef WIN32 struct stat statbuf; -#else - struct _stat statbuf; -#endif + PathSetVersionFilePath(path, full_path); if (stat(full_path, &statbuf) < 0) { |
