repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[win32] - fixed bad number casting when using libnfs on 64bit win8 systems - force...
[deb_libnfs.git]
/
include
/
nfsc
/
libnfs.h
diff --git
a/include/nfsc/libnfs.h
b/include/nfsc/libnfs.h
index 094de3c27027bad8280853d924f6a2a1fd3aed9b..82b4a061d4499c675fb8e92b7776c3f636837ce0 100644
(file)
--- a/
include/nfsc/libnfs.h
+++ b/
include/nfsc/libnfs.h
@@
-169,8
+169,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.
*/
* 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);
EXTERN int nfs_stat(struct nfs_context *nfs, const char *path, struct stat *st);
-
+#endif
/*
* FSTAT()
/*
* FSTAT()
@@
-194,7
+197,11
@@
EXTERN int nfs_fstat_async(struct nfs_context *nfs, struct nfsfh *nfsfh, nfs_cb
* 0 : The operation was successfull.
* -errno : The command failed.
*/
* 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);
EXTERN int nfs_fstat(struct nfs_context *nfs, struct nfsfh *nfsfh, struct stat *st);
+#endif