diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-06-22 18:34:03 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-06-22 18:34:03 +0000 |
commit | f32bd593c426755a140556ed1b5230447e5da726 (patch) | |
tree | 281f06c98f1f5408d8bf239ab722ff32e51994f9 /firmware/libc/strchr.c | |
parent | be66e4d64269176848d4f82d95596745dc17679c (diff) | |
download | rockbox-f32bd593c426755a140556ed1b5230447e5da726.tar.gz rockbox-f32bd593c426755a140556ed1b5230447e5da726.zip |
Add an advanced build option to force compiling and linking our reduced C library (probably useful for the sim).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27059 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/libc/strchr.c')
-rw-r--r-- | firmware/libc/strchr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/libc/strchr.c b/firmware/libc/strchr.c index 96acf5edf6..ada6e2d098 100644 --- a/firmware/libc/strchr.c +++ b/firmware/libc/strchr.c | |||
@@ -35,6 +35,7 @@ QUICKREF | |||
35 | 35 | ||
36 | #include <string.h> | 36 | #include <string.h> |
37 | #include <limits.h> | 37 | #include <limits.h> |
38 | #include "_ansi.h" /* for _DEFUN */ | ||
38 | 39 | ||
39 | /* Nonzero if X is not aligned on a "long" boundary. */ | 40 | /* Nonzero if X is not aligned on a "long" boundary. */ |
40 | #define UNALIGNED(X) ((long)X & (sizeof (long) - 1)) | 41 | #define UNALIGNED(X) ((long)X & (sizeof (long) - 1)) |