patch-src_runtime_gc-common_c 469 B

1234567891011121314151617
  1. $OpenBSD: patch-src_runtime_gc-common_c,v 1.1 2017/05/23 14:19:01 espie Exp $
  2. ffsl is non-standard, but both gcc and clang have it as builtin...
  3. clang only has it as builtin
  4. Index: src/runtime/gc-common.c
  5. --- src/runtime/gc-common.c.orig
  6. +++ src/runtime/gc-common.c
  7. @@ -52,6 +52,8 @@
  8. #endif
  9. #endif
  10. +#define ffsl __builtin_ffsl
  11. +
  12. os_vm_size_t dynamic_space_size = DEFAULT_DYNAMIC_SPACE_SIZE;
  13. os_vm_size_t thread_control_stack_size = DEFAULT_CONTROL_STACK_SIZE;