mesa/include/c11
Jose Fonseca ecfafdcbf5 c11/threads: Include thr/xtimec.h for xtime definition when building with MSVC.
MSVC has been including a xtime definition in thr/xtimec.h ever since
MSVC 2013 (which is the minimum we require for building Mesa), and
including it prevents duplicate definitions when it gets included by
LLVM.

In fact, it looks that MSVC has been including a partial C11 threads
implementation too for some time, which we should consider migrating to
once we eliminate the use of _MTX_INITIALIZER_NP in our tree.

Thanks to the anonymous helper from
https://bugs.freedesktop.org/show_bug.cgi?id=100201#c4 for spotting
this.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100201
CC: "17.0" <mesa-stable@lists.freedesktop.org>
2017-03-29 11:53:03 +01:00
..
.editorconfig Introduce .editorconfig 2016-08-31 17:06:54 -07:00
threads.h c11/threads: Include thr/xtimec.h for xtime definition when building with MSVC. 2017-03-29 11:53:03 +01:00
threads_posix.h Disable use of weak in threads_posix.h on Cygwin 2016-07-15 19:46:54 +01:00
threads_win32.h c11/threads: correct assertion 2014-08-12 23:36:05 +01:00