From aeaf9cefa74dd6fbc9bbf730e0ddcaf01b1f2d3c Mon Sep 17 00:00:00 2001 From: Peter Colberg Date: Thu, 23 Jun 2016 23:32:31 -0400 Subject: [PATCH] Fix undefined reference to __fpgetprec on i386 Closes #137 This reverts commit ebcd40f1b0378522b299bfec63e288df000b43d2. The tests were failing to load the library on i386 due to an undefined reference to __fpgetprec, which resulted from __fpgetprec not being inlined due to the missing definition of __GNUCLIKE_ASM and __CC_SUPPORTS___INLINE__. --- amd64/bsd_asm.h | 2 +- ld80/s_exp2l.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/amd64/bsd_asm.h b/amd64/bsd_asm.h index c29bbab..b9c815b 100644 --- a/amd64/bsd_asm.h +++ b/amd64/bsd_asm.h @@ -40,7 +40,7 @@ #include "../i387/osx_asm.h" #define CNAME(x) EXT(x) #else -#include "cdefs-compat.h" +#include "bsd_cdefs.h" #ifdef PIC #define PIC_PLT(x) x@PLT diff --git a/ld80/s_exp2l.c b/ld80/s_exp2l.c index afa6cff..0cf5259 100644 --- a/ld80/s_exp2l.c +++ b/ld80/s_exp2l.c @@ -30,7 +30,7 @@ #include #include -#include "cdefs-compat.h" +#include "bsd_cdefs.h" #include "amd64/bsd_ieeefp.h" #include