From 20468070fadf48c97f45c79033f3fc4cecccf9fd Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Thu, 25 Mar 2021 12:05:15 -0500 Subject: [PATCH] ipc: De-duplicate member for simplicity and to avoid Doxygen warning --- src/xrt/ipc/server/ipc_server.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/xrt/ipc/server/ipc_server.h b/src/xrt/ipc/server/ipc_server.h index da6932ea9..9645ad2ac 100644 --- a/src/xrt/ipc/server/ipc_server.h +++ b/src/xrt/ipc/server/ipc_server.h @@ -160,13 +160,17 @@ struct ipc_device */ struct ipc_server_mainloop { + +#if defined(XRT_OS_ANDROID) || defined(XRT_OS_LINUX) || defined(XRT_DOXYGEN) + //! For waiting on various events in the main thread. + int epoll_fd; +#endif + #if defined(XRT_OS_ANDROID) || defined(XRT_DOXYGEN) /*! * @name Android Mainloop Members * @{ */ - //! For waiting on various events in the main thread. - int epoll_fd; //! File descriptor for the read end of our pipe for submitting new clients int pipe_read; @@ -233,9 +237,6 @@ struct ipc_server_mainloop //! Socket that we accept connections on. int listen_socket; - //! For waiting on various events in the main thread. - int epoll_fd; - //! Were we launched by socket activation, instead of explicitly? bool launched_by_socket;