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__.
This commit is contained in:
parent
29bf900ede
commit
aeaf9cefa7
@ -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
|
||||||
|
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user