浏览代码

Remove leftover "linux only" on epoll fd.

Evgeny Grin (Karlson2k) 9 年之前
父节点
当前提交
a90099030e
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      doc/libmicrohttpd.texi
  2. 1 1
      src/microhttpd/daemon.c

+ 1 - 1
doc/libmicrohttpd.texi

@@ -2662,7 +2662,7 @@ was specified and a client needs to learn what port
 is actually being used by MHD.
 No extra arguments should be passed.
 
-@item MHD_DAEMON_INFO_EPOLL_FD_LINUX_ONLY
+@item MHD_DAEMON_INFO_EPOLL_FD
 @cindex epoll
 Request the file-descriptor number that MHD is using for epoll.  If
 the build is not supporting epoll, NULL is returned; if we are using a

+ 1 - 1
src/microhttpd/daemon.c

@@ -5407,7 +5407,7 @@ MHD_get_daemon_info (struct MHD_Daemon *daemon,
     case MHD_DAEMON_INFO_LISTEN_FD:
       return (const union MHD_DaemonInfo *) &daemon->socket_fd;
 #ifdef EPOLL_SUPPORT
-    case MHD_DAEMON_INFO_EPOLL_FD_LINUX_ONLY:
+    case MHD_DAEMON_INFO_EPOLL_FD:
       return (const union MHD_DaemonInfo *) &daemon->epoll_fd;
 #endif
     case MHD_DAEMON_INFO_CURRENT_CONNECTIONS: