Created
January 18, 2011 10:34
-
-
Save gjherbiet/784271 to your computer and use it in GitHub Desktop.
sumo 0.12.2 homebrew patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/router/RORouteDef_Alternatives.cpp b/src/router/RORouteDef_Alternatives.cpp | |
index 88e7d96..d640562 100644 | |
--- a/src/router/RORouteDef_Alternatives.cpp | |
+++ b/src/router/RORouteDef_Alternatives.cpp | |
@@ -54,6 +54,9 @@ | |
#ifdef _MSC_VER | |
#define ISNAN _isnan | |
#else | |
+inline bool isnan(double x) { | |
+ return x != x; | |
+} | |
#define ISNAN isnan | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment