oslib: make str* compat functions more uniform
[fio.git] / oslib / strlcat.c
index 3b33d0eb56a72e64e87ecc79b8a3334381bd39fe..6c4c67863256891f15b40b47b1969db1ab8ee37e 100644 (file)
@@ -1,3 +1,5 @@
+#ifndef CONFIG_STRLCAT
+
 #include <string.h>
 #include "strlcat.h"
 
@@ -22,3 +24,5 @@ size_t strlcat(char *dst, const char *src, size_t size)
 
        return dstlen + srclen;
 }
+
+#endif