aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2017-09-06 05:07:25 +0000
committerMartin Storsjo <martin@martin.st>2017-09-06 05:07:25 +0000
commitf8689b1be1db3ebd119fc795ddcb8664113e11dd (patch)
tree1b1540dc07a7c2558784471bd8f4e45d6297cf90 /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
parentc2320add83208a89f495bc28e3a15de58c5bd15d (diff)
downloadllvm-f8689b1be1db3ebd119fc795ddcb8664113e11dd.zip
llvm-f8689b1be1db3ebd119fc795ddcb8664113e11dd.tar.gz
llvm-f8689b1be1db3ebd119fc795ddcb8664113e11dd.tar.bz2
Redirect strftime_l to the locale-ignorant strftime on mingw
_strftime_l is only available in the numbered msvcrt versions (starting from msvcr80.dll). In the default configuration, mingw targets the unversioned msvcrt.dll - and there, _strftime_l is not available (not even on windows 10). If __MSVCRT_VERSION__ is set to a higher value (indicating a non-default target and wanting to link to msvcrXX.dll), use the correct function. Differential Revision: https://reviews.llvm.org/D37468 llvm-svn: 312617
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions