fix win32 compile

This commit is contained in:
Doug MacEachern 2005-12-15 00:20:27 +00:00
parent 982b898aa2
commit c04af84fd3
1 changed files with 4 additions and 0 deletions

View File

@ -510,6 +510,10 @@ SIGAR_DECLARE(int) sigar_nfs_ping(char *host)
#define vsnprintf _vsnprintf
#endif
#ifdef WIN32
# define rindex strrchr
#endif
static int proc_module_get_self(void *data, char *name, int len)
{
sigar_t *sigar = (sigar_t *)data;