use memcpy() instead of std::memcpy()

This commit is contained in:
Arvid Norberg 2011-01-16 20:45:18 +00:00
parent 04086ad2f0
commit f6a32d0f25
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <boost/asio/buffer.hpp>
#endif
#include <list>
#include <cstring>
#include <string.h> // for memcpy
namespace libtorrent
{
@ -127,7 +127,7 @@ namespace libtorrent
{
char* insert = allocate_appendix(s);
if (insert == 0) return false;
std::memcpy(insert, buf, s);
memcpy(insert, buf, s);
return true;
}