From 31c8e94b34a4c9b6bde7fc4e8962954c42978a96 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 14 Feb 1997 04:19:07 +0000 Subject: Remove WIN32 defines. They never worked. --- src/backend/storage/file/fd.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'src/backend/storage/file/fd.c') diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c index c06f89f884..7026837c34 100644 --- a/src/backend/storage/file/fd.c +++ b/src/backend/storage/file/fd.c @@ -6,7 +6,7 @@ * Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Id: fd.c,v 1.14 1997/01/27 00:09:43 scrappy Exp $ + * $Id: fd.c,v 1.15 1997/02/14 04:16:26 momjian Exp $ * * NOTES: * @@ -134,13 +134,8 @@ static int nfile = 0; * that we can open it and find out if we really have any descriptors * available or not. */ -#ifndef WIN32 static char *Nulldev = "/dev/null"; static char Sep_char = '/'; -#else -static char *Nulldev = "NUL"; -static char Sep_char = '\\'; -#endif /* WIN32 */ /* * Private Routines @@ -471,12 +466,7 @@ filepath(char *filename) char basename[16]; int len; -#ifndef WIN32 if (*filename != Sep_char) { -#else - if (!(filename[1] == ':' && filename[2] == Sep_char)) { -#endif /* WIN32 */ - /* Either /base/ or \base\ */ sprintf(basename, "%cbase%c", Sep_char, Sep_char); @@ -576,9 +566,6 @@ fileNameOpenFile(FileName fileName, close(tmpfd); } -#ifdef WIN32 - fileFlags |= _O_BINARY; -#endif /* WIN32 */ vfdP->fd = open(fileName,fileFlags,fileMode); vfdP->fdstate = 0x0; -- cgit v1.2.1