mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
https://mamedev.org Multi Arcade Machine Emulator with GroovyMAME/Switchres/No-nag patchset.
21 lines
628 B
Diff
21 lines
628 B
Diff
--- a/src/lib/netlist/plib/pexception.cpp
|
|
+++ b/src/lib/netlist/plib/pexception.cpp
|
|
@@ -10,7 +10,7 @@
|
|
|
|
#include <cfenv>
|
|
|
|
-#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)
|
|
--- a/3rdparty/bx/include/bx/bx.h
|
|
+++ b/3rdparty/bx/include/bx/bx.h
|
|
@@ -11,6 +11,7 @@
|
|
#include <stdint.h> // uint32_t
|
|
#include <stdlib.h> // size_t
|
|
#include <stddef.h> // ptrdiff_t
|
|
+#include <time.h> // time_t
|
|
|
|
#include "platform.h"
|
|
#include "config.h"
|