]> andersk Git - splint.git/blobdiff - src/fileTable.c
Fixed localtime/gmtime null anntation.
[splint.git] / src / fileTable.c
index ffec6d2530f2585641b2cc238e40cfc264114a43..0b23d1b7365f6d9534349539dfe61c951e87ceb3 100644 (file)
@@ -51,7 +51,6 @@
 # include "basic.h"
 # include "osd.h"
 # include "llmain.h"
-# include "portab.h"
 
 # ifdef WIN32
 # include <io.h>
@@ -1015,7 +1014,7 @@ fileTable_addOpen (fileTable ft, /*@observer@*/ FILE *f, /*@only@*/ cstring fnam
 
 FILE *fileTable_createFile (fileTable ft, cstring fname)
 {
-# ifdef WIN32
+# if defined (WIN32) && !defined (BCC32)
   int fdesc = _open (cstring_toCharsSafe (fname), 
                     O_WRONLY | O_CREAT | O_TRUNC | O_EXCL, 
                     _S_IWRITE | S_IREAD);
@@ -1055,7 +1054,7 @@ FILE *fileTable_createFile (fileTable ft, cstring fname)
 
 FILE *fileTable_createMacrosFile (fileTable ft, cstring fname)
 {
-# ifdef WIN32
+# if defined (WIN32) && !defined (BCC32)
   int fdesc = _open (cstring_toCharsSafe (fname), 
                     O_RDWR | O_CREAT | O_TRUNC | O_EXCL,
                     _S_IREAD | _S_IWRITE);
This page took 0.043642 seconds and 4 git commands to generate.