/*
- stringutil.cc -- generate non-inline members.
+ stringutil.cc -- generate non-inline members.
This should be in a separate file, because one can include the .icc
only once.
source file of the LilyPond music typesetter
- (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl> */
+ (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl> */
-#ifdef STRING_DEBUG
+#ifdef STRING_DEBUG
#define memmove mymemmove
#endif
#ifdef STRING_DEBUG
#include <sys/types.h>
-#include <memory.h>
-void*
-mymemmove (void* dest, void const* src, size_t n)
+#include <memory>
+using namespace std;
+
+void *
+mymemmove (void *dest, void const *src, size_t n)
{
- return memcpy (dest, src, n);
+ return memcpy (dest, src, n);
}
#endif