From 2a98ba8b97c9ff52519633c32cf63716827d6e7c Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Wed, 27 Mar 2024 10:16:16 -0700 Subject: Add `pre-commit` checks The big ones here are `trim-trailing-whitespace` and `end-of-file-fixer` (which makes sure that every file ends with exactly one newline character). Change-Id: Idca73b640883188f068f9903e013cf0d82aa1123 --- boehmgc-coroutine-sp-fallback.diff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'boehmgc-coroutine-sp-fallback.diff') diff --git a/boehmgc-coroutine-sp-fallback.diff b/boehmgc-coroutine-sp-fallback.diff index 2afbe9671..24dcfa41a 100644 --- a/boehmgc-coroutine-sp-fallback.diff +++ b/boehmgc-coroutine-sp-fallback.diff @@ -9,7 +9,7 @@ index 0468aaec..b348d869 100644 + size_t stack_limit; if (!EXPECT(GC_thr_initialized, TRUE)) GC_thr_init(); - + @@ -411,6 +412,19 @@ GC_INNER void GC_push_all_stacks(void) GC_push_all_stack_sections(lo, hi, p->traced_stack_sect); } @@ -37,7 +37,7 @@ index edab6c22..f2c61282 100644 @@ -2172,6 +2172,11 @@ GC_API void GC_CALL GC_win32_free_heap(void); (*GC_amiga_allocwrapper_do)(a,GC_malloc_atomic_ignore_off_page) #endif /* _AMIGA && !GC_AMIGA_MAKINGLIB */ - + +#if !__APPLE__ +/* Patch doesn't work on apple */ +#define NIX_BOEHM_PATCH_VERSION 1 -- cgit v1.2.3