25 lines
762 B
Diff
25 lines
762 B
Diff
--- a/src/lib/netlist/plib/pexception.cpp 2017-01-24 23:44:30.000000000 +0100
|
|
+++ b/src/lib/netlist/plib/pexception.cpp 2017-01-25 06:48:09.658604647 +0100
|
|
@@ -8,7 +8,7 @@
|
|
#include <cfloat>
|
|
#include <iostream>
|
|
|
|
-#if (defined(__x86_64__) || defined(__i386__)) && defined(__linux__)
|
|
+#if (defined(__x86_64__) || defined(__i386__)) && defined(__linux__) && defined(__GLIBC__)
|
|
#define HAS_FEENABLE_EXCEPT (1)
|
|
#else
|
|
#define HAS_FEENABLE_EXCEPT (0)
|
|
|
|
https://git.alpinelinux.org/aports/commit/testing/mame/fix-musl.patch?id=7f174f79c0ccd719a6592d356d1c8db82a426a00
|
|
|
|
--- a/src/lib/netlist/plib/ppmf.h
|
|
+++ b/src/lib/netlist/plib/ppmf.h
|
|
@@ -94,6 +94,7 @@
|
|
#ifndef PPMF_FORCE_TYPE
|
|
#define PPMF_FORCE_TYPE -1
|
|
#endif
|
|
+#include "stddef.h"
|
|
|
|
namespace plib {
|
|
|