projects
/
microwatt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
litedram: Update to new LiteX/LiteDRAM version
[microwatt.git]
/
lib
/
console.c
diff --git
a/lib/console.c
b/lib/console.c
index fa2ade3b37c3d62fe6c491ed9c46e70d10936c69..a75d9a09d11dd497577568bb29c74781b4d43a79 100644
(file)
--- a/
lib/console.c
+++ b/
lib/console.c
@@
-120,6
+120,7
@@
int puts(const char *str)
return 0;
}
+#ifndef __USE_LIBC
size_t strlen(const char *s)
{
size_t len = 0;
@@
-129,3
+130,4
@@
size_t strlen(const char *s)
return len;
}
+#endif