[Git][cmucl/cmucl][issue-122-gnu-source] Update src/lisp/Linux-os.c

Carl S. Shapiro (@cshapiro) gitlab at common-lisp.net
Sun Jun 26 21:29:04 UTC 2022



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/1c2e52ef5d2262a54179ad1a4cb98a2008b07875

-- 
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/1c2e52ef5d2262a54179ad1a4cb98a2008b07875
You're receiving this email because of your account on gitlab.common-lisp.net.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cmucl-cvs/attachments/20220626/dba642b1/attachment.html>


More information about the cmucl-cvs mailing list