Remove XP_OS2_VACPP from the tree
This commit is contained in:
mkaply@us.ibm.com
2003-07-22 18:38:01 +00:00
parent 2dce08e64b
commit 07b419fe78
19 changed files with 4 additions and 92 deletions

View File

@@ -52,11 +52,7 @@ static nsresult PR_CALLBACK
CreateDirectoryA( PSZ path, PEAOP2 ppEABuf);
static int isleadbyte(int c);
#ifdef XP_OS2_VACPP
#include <direct.h>
#else
#include <unistd.h>
#endif
#include <io.h>
@@ -857,11 +853,7 @@ nsLocalFile::Remove(PRBool recursive)
iterator->HasMoreElements(&more);
}
}
#ifdef XP_OS2_VACPP
rv = rmdir((char *) filePath) == -1 ? NSRESULT_FOR_ERRNO() : NS_OK;
#else
rv = rmdir(filePath) == -1 ? NSRESULT_FOR_ERRNO() : NS_OK;
#endif
}
else
{