mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-25 21:25:11 +02:00
11 lines
345 B
Diff
11 lines
345 B
Diff
--- a/test/signal/test-signalhandler.cpp
|
|
+++ b/test/signal/test-signalhandler.cpp
|
|
@@ -46,7 +46,7 @@
|
|
|
|
/*static*/ void my_fpe()
|
|
{
|
|
-#if !defined(__APPLE__)
|
|
+#if !defined(__APPLE__) && defined(__GLIBC__)
|
|
feenableexcept(FE_ALL_EXCEPT); // TODO: check result
|
|
#endif
|
|
std::feraiseexcept(FE_UNDERFLOW | FE_DIVBYZERO); // TODO: check result
|