Carl S. Shapiro pushed to branch issue-122-gnu-source at cmucl / cmucl
Commits:
d31ab04c by Carl S. Shapiro at 2022-06-26T21:39:23+00:00
Update src/lisp/Linux-os.c
- - - - -
1 changed file:
- src/lisp/Linux-os.c
Changes:
=====================================
src/lisp/Linux-os.c
=====================================
@@ -17,8 +17,8 @@
*
*/
-#define _GNU_SOURCE
-#include <signal.h> /* for reg_* constants in uc_mcontext.gregs */
+#define _GNU_SOURCE /* for reg_* constants in uc_mcontext.gregs */
+#include <signal.h>
#include <stdio.h>
#include <sys/param.h>
#include <sys/file.h>
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/d31ab04c93ea31a452f6d5d…
--
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/d31ab04c93ea31a452f6d5d…
You're receiving this email because of your account on gitlab.common-lisp.net.
Carl S. Shapiro pushed to branch issue-122-gnu-source at cmucl / cmucl
Commits:
1c2e52ef by Carl S. Shapiro at 2022-06-26T21:28:53+00:00
Update src/lisp/Linux-os.c
- - - - -
1 changed file:
- src/lisp/Linux-os.c
Changes:
=====================================
src/lisp/Linux-os.c
=====================================
@@ -17,11 +17,8 @@
*
*/
-#if defined(__linux__)
-/* Needed to define REG_foo to get indices into the mcontext gregs. */
#define _GNU_SOURCE
-#endif
-
+#include <signal.h> /* for reg_* constants in uc_mcontext.gregs */
#include <stdio.h>
#include <sys/param.h>
#include <sys/file.h>
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/1c2e52ef5d2262a54179ad1…
--
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/1c2e52ef5d2262a54179ad1…
You're receiving this email because of your account on gitlab.common-lisp.net.