HomePhabricator

[LLVM-C] Fix Windows Build of Core

Description

[LLVM-C] Fix Windows Build of Core

strndup doesn't exist outside of GNU-land and modern macOSes. Use
strdup instead as c_str() is guaranteed to be NUL-terminated.

Details

Committed
CodaFiNov 5 2018, 5:54 PM
Parents
rL346196: Disable XRay test fork_basic_logging for NetBSD
Branches
Unknown
Tags
Unknown