OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixincludes:
[pf3gnuchains/gcc-fork.git]
/
fixincludes
/
tests
/
base
/
bits
/
string2.h
diff --git
a/fixincludes/tests/base/bits/string2.h
b/fixincludes/tests/base/bits/string2.h
index
1da54fd
..
be6fe60
100644
(file)
--- a/
fixincludes/tests/base/bits/string2.h
+++ b/
fixincludes/tests/base/bits/string2.h
@@
-16,3
+16,8
@@
# define __STRING_INLINE extern __inline
# endif
#endif /* GLIBC_C99_INLINE_3_CHECK */
+
+
+#if defined( GLIBC_STRNCPY_CHECK )
+# define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)
+#endif /* GLIBC_STRNCPY_CHECK */