X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=folly%2FDemangle.h;h=75061b5c56c87ab9e283e5cfb72a1667964ba0f1;hp=1422e81799297c13f19379f5276a4349be6873c7;hb=337e3b8a157210eea33c88361b5e4c45a5efc462;hpb=275ca94d04e44f28cfa411668eb1c1dd8db90b80 diff --git a/folly/Demangle.h b/folly/Demangle.h index 1422e817..75061b5c 100644 --- a/folly/Demangle.h +++ b/folly/Demangle.h @@ -1,5 +1,5 @@ /* - * Copyright 2015 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. @@ -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