fix win32 compile
This commit is contained in:
parent
982b898aa2
commit
c04af84fd3
|
@ -510,6 +510,10 @@ SIGAR_DECLARE(int) sigar_nfs_ping(char *host)
|
||||||
#define vsnprintf _vsnprintf
|
#define vsnprintf _vsnprintf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
# define rindex strrchr
|
||||||
|
#endif
|
||||||
|
|
||||||
static int proc_module_get_self(void *data, char *name, int len)
|
static int proc_module_get_self(void *data, char *name, int len)
|
||||||
{
|
{
|
||||||
sigar_t *sigar = (sigar_t *)data;
|
sigar_t *sigar = (sigar_t *)data;
|
||||||
|
|
Loading…
Reference in New Issue