diff options
Diffstat (limited to 'source3/include/includes.h')
-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. */ |