Don't build memcpy_unaligned on 386 to avoid MSVC breakage (reported
by Jon Griffiths).
This commit is contained in:
parent
31d4a7c47f
commit
a203421581
|
@ -258,7 +258,7 @@ int usleep (unsigned int useconds);
|
||||||
#endif /* !defined(HAVE_USLEEP) */
|
#endif /* !defined(HAVE_USLEEP) */
|
||||||
|
|
||||||
#ifdef __i386__
|
#ifdef __i386__
|
||||||
extern inline void *memcpy_unaligned( void *dst, const void *src, size_t size )
|
static inline void *memcpy_unaligned( void *dst, const void *src, size_t size )
|
||||||
{
|
{
|
||||||
return memcpy( dst, src, size );
|
return memcpy( dst, src, size );
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,9 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "wine/port.h"
|
#include "wine/port.h"
|
||||||
|
|
||||||
|
#ifndef __i386__
|
||||||
void *memcpy_unaligned( void *dst, const void *src, size_t size )
|
void *memcpy_unaligned( void *dst, const void *src, size_t size )
|
||||||
{
|
{
|
||||||
return memcpy( dst, src, size );
|
return memcpy( dst, src, size );
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue