Skip to content
  • Pierrick Bouvier's avatar
    1ca3482e
    Fix compilation for platforms without pthread · 1ca3482e
    Pierrick Bouvier authored
    Found when compiling ruby for windows-arm64 using msys2
    
    Missing return type for function Init_lock_native_thread
    lock_native_thread.c:45:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
       45 | Init_lock_native_thread(void)
          | ^
          | int
    1ca3482e
    Fix compilation for platforms without pthread
    Pierrick Bouvier authored
    Found when compiling ruby for windows-arm64 using msys2
    
    Missing return type for function Init_lock_native_thread
    lock_native_thread.c:45:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
       45 | Init_lock_native_thread(void)
          | ^
          | int
Loading