summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2019-09-23 12:03:33 +0000
committerMartin Storsjo <martin@martin.st>2019-09-23 12:03:33 +0000
commit02d3cc97fa443d09febc49a8694bd138a5582863 (patch)
treefd61dd5ddc9a58eb5079790ac84cd61257d1a2a9 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c
parentd67b0997d2c472a28996c37918c3119efc7e11af (diff)
downloadbcm5719-llvm-02d3cc97fa443d09febc49a8694bd138a5582863.tar.gz
bcm5719-llvm-02d3cc97fa443d09febc49a8694bd138a5582863.zip
[LLDB] Remove a now redundant windows specific workaround
vsnprintf(NULL, 0, ...) works for measuring the needed string size on all supported Windows variants; it's supported since at least MSVC 2015 (and LLVM requires a newer version than that), and works on both msvcrt.dll (since at least XP) and UCRT with MinGW. The previous use of ifdefs was wrong as well, as __MINGW64__ only is defined for 64 bit targets, and the define without trailing underscores is never defined automatically (neither by clang nor by gcc). Differential Revision: https://reviews.llvm.org/D67861 llvm-svn: 372591
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud