X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=nfs%2Fnfs.x;h=abb4e461779f9edf89c2e93b259866287d90a079;hb=2060155945dcdf638499b0d95c1b938d5013c828;hp=58fc34e6a8452ee836dd39345d42fe8af6ca4477;hpb=84004dbf9bb2ab8a7f8b968affc53ee3065fa911;p=deb_libnfs.git diff --git a/nfs/nfs.x b/nfs/nfs.x index 58fc34e..abb4e46 100644 --- a/nfs/nfs.x +++ b/nfs/nfs.x @@ -7,7 +7,15 @@ const NFS3_COOKIEVERFSIZE = 8; typedef opaque cookieverf3[NFS3_COOKIEVERFSIZE]; -typedef unsigned hyper uint64; + +/*unsigned hyper can be overridden by giving rpcgen -DU_INT64_PLATTFORM_TYPE="foo" - for plattforms + where rpcgen doesn't know anything about hyper + default to unsigned hyper as of rfc 1813 */ +#ifndef U_INT64_PLATTFORM_TYPE +#define U_INT64_PLATTFORM_TYPE unsigned hyper +#endif/*U_INT64_PLATTFORM_TYPE*/ + +typedef U_INT64_PLATTFORM_TYPE uint64; typedef uint64 cookie3; struct nfs_fh3 {