Skip to content

Commit

Permalink
Use IS_LINUX to bracket epoll warning, epol isn't available on Mac OS…
Browse files Browse the repository at this point in the history
… X and clang defines __GNUC__.
  • Loading branch information
Dair Grant committed Nov 16, 2015
1 parent 307eb93 commit 770a7c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion networkutils/polling.cpp
Expand Up @@ -18,7 +18,7 @@
#include "polling.h"
#include "fasthash.h"

#ifdef __GNUC__
#ifdef IS_LINUX
#ifndef HAS_EPOLL
#pragma message "polling.cpp: WARNING - EPOLL IS NOT AVAILABLE"
#endif
Expand Down

0 comments on commit 770a7c4

Please sign in to comment.