[all-commits] [llvm/llvm-project] 3e5440: [Support] fix mingw-w64 build

Ilya Biryukov via All-commits all-commits at lists.llvm.org
Wed Nov 6 06:27:52 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e54404c71564d9c684742439f178f07f1e45a70
      https://github.com/llvm/llvm-project/commit/3e54404c71564d9c684742439f178f07f1e45a70
  Author: Ilya Biryukov <ibiryukov at google.com>
  Date:   2019-11-06 (Wed, 06 Nov 2019)

  Changed paths:
    M llvm/lib/Support/Windows/Threading.inc

  Log Message:
  -----------
  [Support] fix mingw-w64 build

Older versions of Mingw-w64 do not define _beginthreadex_proc_type,
so we replace it with `unsigned (__stdcall *ThreadFunc)(void *)`.

Fixes https://github.com/clangd/clangd/issues/188

Patch by lh123!

Differential Revision: https://reviews.llvm.org/D69879




More information about the All-commits mailing list