Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion c/tskit/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ extern "C" {
#include <stdint.h>
#include <limits.h>

#ifdef __clang__
#if defined(__clang__) && !defined(__cplusplus)
/* Work around bug in clang >= 6.0, https://github.com/tskit-dev/tskit/issues/721
* (note: fixed in clang January 2019)
*/
#if __has_builtin(__builtin_isnan)
#undef isnan
Expand Down