Added idef so it will work with unix and vxWorks.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user