Created
October 10, 2013 23:39
-
-
Save dsturnbull/6927383 to your computer and use it in GitHub Desktop.
Mavericks doesn't like these, because it already includes strlcat and strlcpy somewhere.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/strlcatu.h b/src/strlcatu.h | |
index 386f97a..a20f2dd 100644 | |
--- a/src/strlcatu.h | |
+++ b/src/strlcatu.h | |
@@ -21,6 +21,4 @@ | |
#ifndef __STRLCAT_H__ | |
#define __STRLCAT_H__ | |
-size_t strlcat(char *, const char *, size_t); | |
- | |
#endif /* __STRLCAT_H__ */ | |
diff --git a/src/strlcpyu.h b/src/strlcpyu.h | |
index c400e5a..7b34b56 100644 | |
--- a/src/strlcpyu.h | |
+++ b/src/strlcpyu.h | |
@@ -21,6 +21,4 @@ | |
#ifndef __STRLCPY_H__ | |
#define __STRLCPY_H__ | |
-size_t strlcpy(char *, const char *, size_t); | |
- | |
#endif /* __STRLCPY_H__ */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment