Skip to content

Commit

Permalink
Fix VS engine-dedicated build under Debug configuration
Browse files Browse the repository at this point in the history
For some arcane reason RelWithDebInfo included <limits> somewhere while Debug didn't.
go figure vOv
  • Loading branch information
ashdnazg committed May 24, 2016
1 parent fe6c567 commit f5faf8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rts/lib/streflop/streflop_cond.h
Expand Up @@ -58,6 +58,9 @@ namespace math {
using std::isfinite;

#elif __cplusplus
}
#include <limits>
namespace math {
template<typename T> inline bool isnan(T value) {
return value != value;
}
Expand Down

0 comments on commit f5faf8c

Please sign in to comment.