mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-25 06:46: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
|
# 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,
|
# 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.
|
# but the copy includes more stuff from libc++'s internal headers.
|
||||||
include_dirs = [ "../libc++/trunk/src/include" ]
|
include_dirs = [ "../libc++/trunk" ]
|
||||||
if (!is_mac) {
|
if (!is_mac) {
|
||||||
sources -= [
|
sources -= [
|
||||||
"trunk/src/cxa_exception.cpp",
|
"trunk/src/cxa_exception.cpp",
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
#include "../../libcxx/src/include/refstring.h"
|
|
||||||
#include "stdexcept"
|
#include "stdexcept"
|
||||||
#include "new"
|
#include "new"
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
@ -14,6 +13,9 @@
|
|||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
|
||||||
|
// This includes an implementation file from libc++.
|
||||||
|
#include "src/include/refstring.h"
|
||||||
|
|
||||||
static_assert(sizeof(std::__libcpp_refstring) == sizeof(const char *), "");
|
static_assert(sizeof(std::__libcpp_refstring) == sizeof(const char *), "");
|
||||||
|
|
||||||
namespace std // purposefully not using versioning namespace
|
namespace std // purposefully not using versioning namespace
|
||||||
|
Loading…
Reference in New Issue
Block a user