X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=folly%2FDemangle.h;h=75061b5c56c87ab9e283e5cfb72a1667964ba0f1;hp=205fdb65a3fc01c2f8b63efe61c0589be37d618a;hb=b26334e5f85126a4ebe1c514d4790b98f2c2bbe1;hpb=e3225b60a767f9bae67a475997e2b5ac426e29ea diff --git a/folly/Demangle.h b/folly/Demangle.h index 205fdb65..75061b5c 100644 --- a/folly/Demangle.h +++ b/folly/Demangle.h @@ -1,5 +1,5 @@ /* - * Copyright 2014 Facebook, Inc. + * Copyright 2017 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ #pragma once -#include "folly/FBString.h" +#include namespace folly { @@ -59,4 +59,7 @@ inline size_t demangle(const std::type_info& type, char* buf, size_t bufSize) { return demangle(type.name(), buf, bufSize); } -} +// glibc doesn't have strlcpy +size_t strlcpy(char* dest, const char* const src, size_t size); + +} // namespace folly