Files
haikuports/sci-mathematics/glucas/patches/glucas-2.9.0.patchset
2018-11-17 15:50:34 +00:00

23 lines
557 B
Plaintext

From 436ec67141e59325ecd135da8d9a3e98feffd1b3 Mon Sep 17 00:00:00 2001
From: nishanth1232 <thumma.nishanth79@gmail.com>
Date: Sat, 17 Nov 2018 18:30:26 +0000
Subject: gsetup.c for glucas!
diff --git a/gsetup.c b/gsetup.c
index 7f32832..14a7354 100644
--- a/gsetup.c
+++ b/gsetup.c
@@ -39,7 +39,7 @@ void setup (int nonice)
#ifdef __sgi__
(void)schedctl(NDPRI, 0, NDPLOMIN);
#endif
-#if !defined(macintosh) && !defined(pccompiler)
+#if !defined(macintosh) && !defined(pccompiler) && !defined(__HAIKU__)
(void)nice(40);
#endif
}
--
2.19.0