Refactoring: do not define EPOLL_SUPPORT if epoll is disabled or not supported.

This commit is contained in:
Evgeny Grin (Karlson2k)
2016-08-24 15:02:10 +00:00
parent dfbda8ae1e
commit 9826ad54e0
13 changed files with 45 additions and 46 deletions
+1 -1
View File
@@ -223,7 +223,7 @@ main (int argc, char *const *argv)
fprintf (stderr, "Error: %s\n", strerror (errno));
return -1;
}
#if EPOLL_SUPPORT
#ifdef EPOLL_SUPPORT
if (0 != (errorCount = testExternalGet (MHD_USE_EPOLL_LINUX_ONLY)))
fprintf (stderr, "Fail: %d\n", errorCount);
#endif