Commit 770a7c43 authored by Dair Grant's avatar Dair Grant

Use IS_LINUX to bracket epoll warning, epol isn't available on Mac OS X and clang defines __GNUC__.

parent 307eb93a
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include "polling.h" #include "polling.h"
#include "fasthash.h" #include "fasthash.h"
#ifdef __GNUC__ #ifdef IS_LINUX
#ifndef HAS_EPOLL #ifndef HAS_EPOLL
#pragma message "polling.cpp: WARNING - EPOLL IS NOT AVAILABLE" #pragma message "polling.cpp: WARNING - EPOLL IS NOT AVAILABLE"
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment