Fix undefined reference to __fpgetprec on i386

Closes #137

This reverts commit ebcd40f1b0.

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__.
This commit is contained in:
Peter Colberg 2016-06-23 23:32:31 -04:00
parent 29bf900ede
commit aeaf9cefa7
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@
#include "../i387/osx_asm.h" #include "../i387/osx_asm.h"
#define CNAME(x) EXT(x) #define CNAME(x) EXT(x)
#else #else
#include "cdefs-compat.h" #include "bsd_cdefs.h"
#ifdef PIC #ifdef PIC
#define PIC_PLT(x) x@PLT #define PIC_PLT(x) x@PLT

View file

@ -30,7 +30,7 @@
#include <float.h> #include <float.h>
#include <stdint.h> #include <stdint.h>
#include "cdefs-compat.h" #include "bsd_cdefs.h"
#include "amd64/bsd_ieeefp.h" #include "amd64/bsd_ieeefp.h"
#include <openlibm_math.h> #include <openlibm_math.h>