eventfd: Typedef eventfd_t to uint64_t on the supported platform

to compliant with Linux implementation as much as possible

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-12-18 21:37:58 +08:00 committed by Xiang Xiao
parent 76a4ca01a3
commit 54e1c27e43

View File

@ -42,7 +42,11 @@
/* Type for event counter */
#ifdef __INT64_DEFINED
typedef uint64_t eventfd_t;
#else
typedef uint32_t eventfd_t;
#endif
/****************************************************************************
* Public Function Prototypes