]> andersk Git - splint.git/blobdiff - src/fileTable.c
Fixed localtime/gmtime null anntation.
[splint.git] / src / fileTable.c
index 01291f094d3f20860ca6da9f0aa047bed80ef9bb..0b23d1b7365f6d9534349539dfe61c951e87ceb3 100644 (file)
@@ -1014,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);
@@ -1054,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.039252 seconds and 4 git commands to generate.