Skip to content

Commit

Permalink
Fix Ubuntu build error with isnan macro definition
Browse files Browse the repository at this point in the history
Change-Id: I671ed826a9631fbbc66d0aa9b674ab00124c7967
  • Loading branch information
Vasu Penugonda authored and lakshmih committed Oct 11, 2023
1 parent 7d78bcd commit cc6389b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test_conformance/basic/test_explicit_s2v.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
// limitations under the License.
//
#include <cmath>
#define isnan std::isnan
using std::isnan;
#define isnan isnan
#include "harness/compat.h"

#include <stdio.h>
Expand Down

0 comments on commit cc6389b

Please sign in to comment.