Under certain conditions it looks like frexp gets #defined to something else on macOS during system headers, which then breaks the declaration in libc.h.
9 lines
115 B
C
9 lines
115 B
C
#include <u.h>
|
|
#define NOPLAN9DEFINES
|
|
#include <libc.h>
|
|
|
|
double
|
|
p9frexp(double d, int *i)
|
|
{
|
|
return frexp(d, i);
|
|
}
|