]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - tools/perf/util/path.c
perf tools: Convert to HAVE_STRLCPY
[karo-tx-linux.git] / tools / perf / util / path.c
index bd74977114242ff465af39a291d30aa7d463f3b2..a8c49548ca48f5bc4f7ae14134ee57d7779b46e8 100644 (file)
@@ -22,7 +22,7 @@ static const char *get_perf_dir(void)
        return ".";
 }
 
-#ifdef NO_STRLCPY
+#ifndef HAVE_STRLCPY
 size_t strlcpy(char *dest, const char *src, size_t size)
 {
        size_t ret = strlen(src);