summaryrefslogtreecommitdiff
path: root/src/libstddjb/case_diffs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/case_diffs.c')
-rw-r--r--src/libstddjb/case_diffs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstddjb/case_diffs.c b/src/libstddjb/case_diffs.c
index 2731408..bf72472 100644
--- a/src/libstddjb/case_diffs.c
+++ b/src/libstddjb/case_diffs.c
@@ -1,7 +1,11 @@
/* ISC license. */
+#include <skalibs/config.h>
#include <skalibs/bytestr.h>
+#ifdef SKALIBS_FLAG_REPLACE_LIBC
+
+
int case_diffs (char const *s, char const *t)
{
register unsigned char x = 1, y = 1 ;
@@ -16,3 +20,5 @@ int case_diffs (char const *s, char const *t)
}
return (int)(x - y) ;
}
+
+#endif