add stubs for netware required to link

This commit is contained in:
Doug MacEachern 2005-08-28 05:47:48 +00:00
parent e44f7a857f
commit f243357717
2 changed files with 19 additions and 1 deletions

View File

@ -1040,7 +1040,11 @@ SIGAR_DECLARE(int) sigar_resource_limit_get(sigar_t *sigar,
}
#elif defined(NETWARE)
/*XXX*/
int sigar_resource_limit_get(sigar_t *sigar,
sigar_resource_limit_t *rlimit)
{
return SIGAR_ENOTIMPL;
}
#else
int sigar_who_list_get(sigar_t *sigar,

View File

@ -144,6 +144,20 @@ SIGAR_DECLARE(int)sigar_file_attrs_mode_get(sigar_uint64_t permissions)
#if defined(NETWARE)
int sigar_dir_stat_get(sigar_t *sigar,
const char *dir,
sigar_dir_stat_t *dirstats)
{
return SIGAR_ENOTIMPL;
}
int sigar_file_attrs_get(sigar_t *sigar,
const char *file,
sigar_file_attrs_t *fileattrs)
{
return SIGAR_ENOTIMPL;
}
#elif defined(WIN32)
#include <accctrl.h>