* Revert previous tools-for-build/modify-ldt-struct-name commit
(which never actually included the necessary C file) for the
simpler test of LINUX_VERSION_CODE suggested by Dan Barlow.
# similar with :STACK-GROWS-FOOWARD, too. -- WHN 2002-03-03
if [ "$sbcl_arch" = "x86" ] ; then
printf ' :gencgc :stack-grows-downward-not-upward :c-stack-is-control-stack' >> $ltf
- cd tools-for-build
- $GNUMAKE -I ../src/runtime modify-ldt-struct-name
- ./modify-ldt-struct-name > ../src/runtime/modify-ldt-struct-name.h
- cd ..
elif [ "$sbcl_arch" = "mips" ] ; then
# Use a little C program to try to guess the endianness. Ware
# cross-compilers!
#include <sys/stat.h>
#include <unistd.h>
#include <asm/ldt.h>
-#include "modify-ldt-struct-name.h"
#include <linux/unistd.h>
#include <sys/mman.h>
+#include <linux/version.h>
#include "thread.h" /* dynamic_values_bytes */
-#ifndef MODIFY_LDT_STRUCT_NAMED_USER_DESC
-/* old glibc */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
#define user_desc modify_ldt_ldt_s
#endif
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.8.5.48"
+"0.8.5.49"