diff options
author | Eugene Grigorjev <git-no-reply@zabbix.com> | 2007-05-30 16:17:04 +0400 |
---|---|---|
committer | Eugene Grigorjev <git-no-reply@zabbix.com> | 2007-05-30 16:17:04 +0400 |
commit | 6a8b94594b558a70998a9c40c1192b9fb1bc1637 (patch) | |
tree | 23f0481e20e1b5b477d068ebcb5fa789515c018d /include/zbxtypes.h | |
parent | d382a204103b61e6d913f2da2cde0af56f79c057 (diff) |
- merged rev. 4207:4210 from branches/1.4.1 (Eugene)
Diffstat (limited to 'include/zbxtypes.h')
-rw-r--r-- | include/zbxtypes.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/zbxtypes.h b/include/zbxtypes.h index f4a9336af0b..29731b17f8e 100644 --- a/include/zbxtypes.h +++ b/include/zbxtypes.h @@ -46,9 +46,13 @@ #else /* _WINDOWS */ -#ifndef __UINT64_C -# define __UINT64_C UINT64_C -#endif /* __UINT64_C under AIX, Solaris*/ +# ifndef __UINT64_C +# ifdef UINT64_C +# define __UINT64_C(c) (UINT64_C(c)) +# else +# define __UINT64_C(c) (c ## ULL) +# endif +# endif # define zbx_uint64_t uint64_t # if __WORDSIZE == 64 |