plan9port/src/lib9/frexp.c
Russ Cox e0c4896ed4 lib9: make a p9frexp function wrapping system frexp
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.
2020-01-12 15:07:42 -05:00

9 lines
115 B
C

#include <u.h>
#define NOPLAN9DEFINES
#include <libc.h>
double
p9frexp(double d, int *i)
{
return frexp(d, i);
}