summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLandry Breuil <landry@cvs.openbsd.org>2009-03-07 12:16:15 +0000
committerLandry Breuil <landry@cvs.openbsd.org>2009-03-07 12:16:15 +0000
commit5e131218ed75c75cece52976b0f57ace8d508990 (patch)
tree7b0a87388a1c388d8b14651459137c79052a656f
parent18b1329069ec2df1482b519fdc948e27fe09eade (diff)
Our gcc doesn't provide __builtin_memmove(), so replace it by memmove().
Slipped in when fixing libstdc++ for gtk2mm, spotted the hard way when porting nemiver. ok espie@
-rw-r--r--gnu/lib/libstdc++/libstdc++/include/bits/char_traits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/lib/libstdc++/libstdc++/include/bits/char_traits.h b/gnu/lib/libstdc++/libstdc++/include/bits/char_traits.h
index 1cee9dbc0b8..21a01003ab3 100644
--- a/gnu/lib/libstdc++/libstdc++/include/bits/char_traits.h
+++ b/gnu/lib/libstdc++/libstdc++/include/bits/char_traits.h
@@ -156,7 +156,7 @@ namespace __gnu_cxx
char_traits<_CharT>::
move(char_type* __s1, const char_type* __s2, std::size_t __n)
{
- return static_cast<_CharT*>(__builtin_memmove(__s1, __s2,
+ return static_cast<_CharT*>(memmove(__s1, __s2,
__n * sizeof(char_type)));
}