-do not run epoll tests if epoll was disabled, even on linux

This commit is contained in:
Christian Grothoff
2013-08-28 09:41:30 +00:00
parent 991598830f
commit a5f4e104cc
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ main (int argc, char *const *argv)
fprintf (stderr, "Error: %s\n", strerror (errno));
return -1;
}
#if LINUX
#if EPOLL_SUPPORT
if (0 != (errorCount = testExternalGet (MHD_USE_EPOLL_LINUX_ONLY)))
fprintf (stderr, "Fail: %d\n", errorCount);
#endif