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__.
dev
Peter Colberg 6 years ago
parent 29bf900ede
commit aeaf9cefa7
  1. 2
      amd64/bsd_asm.h
  2. 2
      ld80/s_exp2l.c

@ -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

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

Loading…
Cancel
Save