X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=oslib%2Fstrcasestr.c;h=262660911cdfbb96c7cc43135f0d7d1fcf290ff7;hb=45be22df81f10ef9d45a30bd06343ae630dcfee0;hp=92cf24c6778d7d4934598be426cb60b75f6dda96;hpb=984f30c9756b50c1507b287c71243e2c06efff16;p=fio.git diff --git a/oslib/strcasestr.c b/oslib/strcasestr.c index 92cf24c6..26266091 100644 --- a/oslib/strcasestr.c +++ b/oslib/strcasestr.c @@ -1,6 +1,8 @@ #include #include +#ifndef CONFIG_STRCASESTR + char *strcasestr(const char *s1, const char *s2) { const char *s = s1; @@ -23,3 +25,5 @@ char *strcasestr(const char *s1, const char *s2) return *p ? NULL : (char *) s1; } + +#endif