summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress_s3tc.h
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2017-03-28 11:25:04 +0100
committerJose Fonseca <[email protected]>2017-03-29 11:53:03 +0100
commitecfafdcbf51d8919e219539b57ffbd9cd3f8557a (patch)
treebd7dd7458533ec7dea6a4bb50346c2d5aaa5043d /src/mesa/main/texcompress_s3tc.h
parente44cba540ee7a07bba643bab4b9e519e90244bd1 (diff)
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 <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100201 CC: "17.0" <[email protected]>
Diffstat (limited to 'src/mesa/main/texcompress_s3tc.h')
0 files changed, 0 insertions, 0 deletions