Skip to content

Commit 697421d

Browse files
committed
Updated for Windows CI was working but lates MSVC was still problematic
1 parent 48c5216 commit 697421d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/Obj.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ Copyright (C) 2009 Jon Macey
2626

2727
#if defined(WIN32)
2828

29-
// namespace std
30-
// {
31-
// template < typename T >
32-
// bool signbit(T t)
33-
// {
34-
// return signbit(double(t));
35-
// }
36-
// } // namespace std
29+
namespace std
30+
{
31+
// signbit is not defined for int in windows
32+
bool signbit(int t)
33+
{
34+
return signbit(double(t));
35+
}
36+
} // namespace std
3737

3838
#endif
3939

0 commit comments

Comments
 (0)