LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File sbcl-glibc217.patch of Package sbcl (Project devel:languages:misc)

Index: sbcl-1.1.1/src/runtime/x86-64-linux-os.c
===================================================================
--- sbcl-1.1.1.orig/src/runtime/x86-64-linux-os.c
+++ sbcl-1.1.1/src/runtime/x86-64-linux-os.c
@@ -14,6 +14,8 @@
  * files for more information.
  */
 
+#define _GNU_SOURCE 1
+
 #include <stdio.h>
 #include <stddef.h>
 #include <sys/param.h>
@@ -22,10 +24,7 @@
 #include <unistd.h>
 #include <errno.h>
 
-#define __USE_GNU
 #include <sys/ucontext.h>
-#undef __USE_GNU
-
 
 #include "./signal.h"
 #include "os.h"