From 1a2d425ece257cef5a99c49b70cacb6eb127bed2 Mon Sep 17 00:00:00 2001 From: Kevin Tew Date: Mon, 10 Oct 2011 10:30:03 -0600 Subject: [PATCH] Fix QNX merge to 5.2 --- src/racket/sconfig.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/racket/sconfig.h b/src/racket/sconfig.h index 917ea70455..53ef1e9ca1 100644 --- a/src/racket/sconfig.h +++ b/src/racket/sconfig.h @@ -937,7 +937,10 @@ #if defined(__QNX__) +#if defined(i386) # define SCHEME_PLATFORM_LIBRARY_SUBPATH "i386-qnx" +#endif +# define ASSUME_FIXED_STACK_SIZE # include "uconfig.h" # define SIGSET_IS_SIGNAL @@ -945,11 +948,20 @@ # define USE_FCNTL_O_NONBLOCK -# define ASSUME_FIXED_STACK_SIZE # define FIXED_STACK_SIZE 524288 # define FLAGS_ALREADY_SET +#if defined(i386) +# define MZ_USE_JIT_I386 +# define MZ_JIT_USE_MPROTECT +#endif +#if defined(__x86_64__) +# define MZ_USE_JIT_X86_64 +# define MZ_JIT_USE_MPROTECT +# define MZ_USE_DWARF_LIBUNWIND +#endif + #endif /***************************************************/