add compat.h - stagit-gopher - A git gopher frontend. (mirror) | |
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2h… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit 597e3cdbed69b362423a75cc7e85e78ec95ae47e | |
parent e4e03b3bf91db3a6fe8acdcf97603240e9bf7896 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sat, 26 Dec 2015 13:01:41 +0100 | |
add compat.h | |
Diffstat: | |
A compat.h | 6 ++++++ | |
1 file changed, 6 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/compat.h b/compat.h | |
@@ -0,0 +1,6 @@ | |
+#ifdef COMPAT | |
+#undef strlcat | |
+size_t strlcat(char *, const char *, size_t); | |
+#undef strlcpy | |
+size_t strlcpy(char *, const char *, size_t); | |
+#endif |