From 5209c318424ed5b2b9cfc4b12b7513b434f9acdd Mon Sep 17 00:00:00 2001
From: Ulrich Kemloh <kemlohulrich@gmail.com>
Date: Tue, 14 Jul 2015 11:46:57 +0200
Subject: [PATCH] fixed compilation issue with _isnan

---
 src/general/Macros.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/general/Macros.h b/src/general/Macros.h
index 27d6fc2..8e80180 100644
--- a/src/general/Macros.h
+++ b/src/general/Macros.h
@@ -43,6 +43,8 @@
 #define M_PI 3.14159265358979323846
 #endif 
 
+//fix for osx/linux/win
+#define  _isnan(x) std::isnan(x)
 
 // should be true only when using this file in the simulation core
 //#define _SIMULATOR 1
-- 
GitLab