diff options
author | Gerald Carter <jerry@samba.org> | 2006-04-12 14:10:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:16:00 -0500 |
commit | 8c9eb7631eecbe3f9bda30aff4b5d97d5e2a8737 (patch) | |
tree | cac69887b74af6bc9330a279919555fe52db53b7 /source3/include | |
parent | 7a5ff0885d08f9e32dc9939e5fd676a987b881d9 (diff) | |
download | samba-8c9eb7631eecbe3f9bda30aff4b5d97d5e2a8737.tar.gz samba-8c9eb7631eecbe3f9bda30aff4b5d97d5e2a8737.tar.bz2 samba-8c9eb7631eecbe3f9bda30aff4b5d97d5e2a8737.zip |
r15053: fix portabilities issues between 32-bit winbind clients and a 64-bit winbindd server
(This used to be commit a95d11345e76948b147bbc1f29a05c978d99a47a)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/includes.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index b96bd19fd8..1e59f50008 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -639,6 +639,19 @@ typedef int socklen_t; #endif /* + * check for 8 byte long long + */ + +#if !defined(uint64) +#if (SIZEOF_LONG == 8) +#define uint64 unsigned long +#elif (SIZEOF_LONG_LONG == 8) +#define uint64 unsigned long long +#endif /* don't lie. If we don't have it, then don't use it */ +#endif + + +/* * Types for devices, inodes and offsets. */ |