more accurate system.c
Evgeny Kotsuba
evgen at shatura.laser.ru
Sun Sep 28 12:43:40 CEST 2003
Hi,
There is more accurate system.c
I have look at Open Watcom headers and it's mkdir is the same as VAC (IBMC)
Open Watcom is not only OS/2 compiler as weel as IBM's Visual Age for C
(VAC) -
as minimum it's versions 3.65 and 4.0 may build Windows code
/*****************************************************************************
NAME:
system.c -- bogofilter covers for OS/compiler dependent functions.
******************************************************************************/
#include "common.h"
#if defined(__IBMC__) || defined(__IBMCPP__) || defined(__WATCOMC__)
#include "direct.h"
#endif
int bf_mkdir(const char *path, mode_t mode)
{
int rc;
#if !defined(__IBMC__) && !defined(__IBMCPP__) && !defined(__WATCOMC__)
rc = mkdir(path, mode);
#else
rc = mkdir((unsigned char*)path);
#endif
return rc;
}
More information about the bogofilter-dev
mailing list