freemyipod r16 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r15‎ | r16 | r17 >
Date:01:27, 4 August 2010
Author:farthen
Status:new
Tags:
Comment:
Fix strlen.c to compile for Linux.
Modified paths:
  • /embios/trunk/strlen.c (modified) (history)

Diff [purge]

Index: embios/trunk/strlen.c
@@ -25,6 +25,10 @@
2626 #include <string.h>
2727 #include <limits.h>
2828
 29+#ifndef _CONST
 30+#define _CONST const
 31+#endif
 32+
2933 size_t strlen(_CONST char *str)
3034 {
3135 _CONST char *start = str;