--- a/src/drivers/olethros/geometry.cpp
+++ b/src/drivers/olethros/geometry.cpp
@@ -27,6 +27,8 @@
 #ifdef WIN32
 #include <float.h>
 #define isnan _isnan
+#elif __cplusplus >= 201103L
+using std::isnan;
 #endif