You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "xiaoxiang781216 (via GitHub)" <gi...@apache.org> on 2023/01/26 09:50:53 UTC

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #8211: epoll.h: Add u64 field like Linux

xiaoxiang781216 commented on code in PR #8211:
URL: https://github.com/apache/nuttx/pull/8211#discussion_r1087620641


##########
include/sys/epoll.h:
##########
@@ -91,11 +94,14 @@ enum
 #define EPOLL_CLOEXEC EPOLL_CLOEXEC
 };
 
-typedef union poll_data
+typedef union epoll_data
 {
   FAR void    *ptr;
   int          fd;
   uint32_t     u32;
+#ifdef CONFIG_HAVE_LONG_LONG
+  uint64_t     u64;
+#endif
 } epoll_data_t;

Review Comment:
   Done.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org