X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fruntime%2Flinux-os.h;h=e930693dfce83e7cf6663f015e12e18f2bd868ba;hb=d9d75ffc2f436767c81a4091ec4ff7006c1ec676;hp=411ade6ce9881e750e459a7642d3447959d06955;hpb=d8e682fdfb7e8ba067e15aea0f3d1f8d37ca9eb1;p=sbcl.git diff --git a/src/runtime/linux-os.h b/src/runtime/linux-os.h index 411ade6..e930693 100644 --- a/src/runtime/linux-os.h +++ b/src/runtime/linux-os.h @@ -22,22 +22,22 @@ #include #include #include -#include "target-arch-os.h" -#include "target-arch.h" - -#define linuxversion(a, b, c) (((a)<<16)+((b)<<8)+(c)) +// Needs to be defined before including target-arch.h typedef caddr_t os_vm_address_t; typedef size_t os_vm_size_t; typedef off_t os_vm_offset_t; typedef int os_vm_prot_t; +#include "target-arch-os.h" +#include "target-arch.h" +#define linuxversion(a, b, c) (((a)<<16)+((b)<<8)+(c)) + #define OS_VM_PROT_READ PROT_READ #define OS_VM_PROT_WRITE PROT_WRITE #define OS_VM_PROT_EXECUTE PROT_EXEC #define SIG_MEMORY_FAULT SIGSEGV -#define SIG_INTERRUPT_THREAD (SIGRTMIN) -#define SIG_STOP_FOR_GC (SIGRTMIN+1) - +#define SIG_INTERRUPT_THREAD (SIGPWR) +#define SIG_STOP_FOR_GC (SIGUSR1)