mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
libc++abi: Fix header path
Temporary fix until upstream catches up.
This commit is contained in:
parent
b2d2eaa3af
commit
b224e2c290
@ -91,7 +91,7 @@ source_set("libc++abi") {
|
||||
# TODO(thakis): This is a gross workaround for https:/llvm.org/PR49313
|
||||
# We had to copy refstring.h into libc++abi for the relative path to work,
|
||||
# but the copy includes more stuff from libc++'s internal headers.
|
||||
include_dirs = [ "../libc++/trunk/src/include" ]
|
||||
include_dirs = [ "../libc++/trunk" ]
|
||||
if (!is_mac) {
|
||||
sources -= [
|
||||
"trunk/src/cxa_exception.cpp",
|
||||
|
@ -6,7 +6,6 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "../../libcxx/src/include/refstring.h"
|
||||
#include "stdexcept"
|
||||
#include "new"
|
||||
#include <cstdlib>
|
||||
@ -14,6 +13,9 @@
|
||||
#include <cstdint>
|
||||
#include <cstddef>
|
||||
|
||||
// This includes an implementation file from libc++.
|
||||
#include "src/include/refstring.h"
|
||||
|
||||
static_assert(sizeof(std::__libcpp_refstring) == sizeof(const char *), "");
|
||||
|
||||
namespace std // purposefully not using versioning namespace
|
||||
|
Loading…
Reference in New Issue
Block a user