Skip to content

Commit

Permalink
1.0.4.98: Win32 build fix
Browse files Browse the repository at this point in the history
  * Win32 doesn't do sigaltstack, and thus has no SIGSTKSZ.
  • Loading branch information
lisphacker committed Apr 17, 2007
1 parent 2b6833e commit 640c41f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/runtime/backtrace.c
Expand Up @@ -285,11 +285,16 @@ backtrace(int nframes)

static int
altstack_pointer_p (void *p) {
#ifndef LISP_FEATURE_WIN32
char* stack_start = ((char *) arch_os_get_current_thread())
+ dynamic_values_bytes;
char* stack_end = stack_start + 32*SIGSTKSZ;

return (p > stack_start && p <= stack_end);
#else
/* Win32 doesn't do altstack */
return 0;
#endif
}

static int
Expand Down
2 changes: 1 addition & 1 deletion version.lisp-expr
Expand Up @@ -17,4 +17,4 @@
;;; 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".)
"1.0.4.97"
"1.0.4.98"

0 comments on commit 640c41f

Please sign in to comment.