Added idef so it will work with unix and vxWorks.

This commit is contained in:
Janet B. Anderson
1993-06-17 10:34:54 +00:00
parent 60ffe4ddcb
commit 0a2b6512cf

View File

@@ -413,7 +413,11 @@ SPROG *pSP;
pvalue = seqMacValGet(pname, strlen(pname), pSP->mac_ptr);
if (pvalue != NULL && strlen(pvalue) > 0)
{ /* Create & open file for write only */
#ifdef vxWorks
remove(pvalue);
#else
delete(pvalue);
#endif
fd = open(pvalue, O_CREAT | O_WRONLY, 0664);
if (fd != ERROR)
pSP->logFd = fd;