Skip to content

Commit

Permalink
Updated for Windows CI was working but lates MSVC was still problematic
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacey committed Nov 28, 2024
1 parent 48c5216 commit 697421d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/Obj.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ Copyright (C) 2009 Jon Macey

#if defined(WIN32)

// namespace std
// {
// template < typename T >
// bool signbit(T t)
// {
// return signbit(double(t));
// }
// } // namespace std
namespace std
{
// signbit is not defined for int in windows
bool signbit(int t)
{
return signbit(double(t));
}
} // namespace std

#endif

Expand Down

0 comments on commit 697421d

Please sign in to comment.