projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable a missing test in the CMake build
[folly.git]
/
folly
/
Demangle.h
diff --git
a/folly/Demangle.h
b/folly/Demangle.h
index 205fdb65a3fc01c2f8b63efe61c0589be37d618a..0a9cf9682484e3c9e99f79d643f541dfde3fd8c0 100644
(file)
--- a/
folly/Demangle.h
+++ b/
folly/Demangle.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright 201
4
Facebook, Inc.
+ * Copyright 201
7
Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* 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
#pragma once
-#include
"folly/FBString.h"
+#include
<folly/FBString.h>
namespace folly {
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);
}
return demangle(type.name(), buf, bufSize);
}
+// glibc doesn't have strlcpy
+size_t strlcpy(char* dest, const char* const src, size_t size);
+
}
}