Don't build memcpy_unaligned on 386 to avoid MSVC breakage (reported

by Jon Griffiths).
This commit is contained in:
Alexandre Julliard 2003-08-25 23:45:34 +00:00
parent 31d4a7c47f
commit a203421581
2 changed files with 3 additions and 1 deletions

View File

@ -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 );
} }

View File

@ -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