X-Git-Url: https://git.piment-noir.org/?p=deb_libnfs.git;a=blobdiff_plain;f=include%2Fnfsc%2Flibnfs.h;h=388ea78e6293685ebe5ad028fe063c8f55e33cc0;hp=81750db3ec0189ba14fd1f83f82c4f05985fa739;hb=c9cc77a538b9062f0b00a26019c6658ca003492e;hpb=2d22ee96622e0913cbc9c9e66046dd6d1fdfdac4 diff --git a/include/nfsc/libnfs.h b/include/nfsc/libnfs.h index 81750db..388ea78 100644 --- a/include/nfsc/libnfs.h +++ b/include/nfsc/libnfs.h @@ -217,8 +217,11 @@ EXTERN int nfs_stat_async(struct nfs_context *nfs, const char *path, nfs_cb cb, * 0 : The operation was successfull. * -errno : The command failed. */ +#ifdef WIN32 +EXTERN int nfs_stat(struct nfs_context *nfs, const char *path, struct __stat64 *st); +#else EXTERN int nfs_stat(struct nfs_context *nfs, const char *path, struct stat *st); - +#endif /* * FSTAT() @@ -242,7 +245,11 @@ EXTERN int nfs_fstat_async(struct nfs_context *nfs, struct nfsfh *nfsfh, nfs_cb * 0 : The operation was successfull. * -errno : The command failed. */ +#ifdef WIN32 +EXTERN int nfs_fstat(struct nfs_context *nfs, struct nfsfh *nfsfh, struct __stat64 *st); +#else EXTERN int nfs_fstat(struct nfs_context *nfs, struct nfsfh *nfsfh, struct stat *st); +#endif