Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a2034215
Commit
a2034215
authored
Aug 25, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't build memcpy_unaligned on 386 to avoid MSVC breakage (reported
by Jon Griffiths).
parent
31d4a7c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
port.h
include/wine/port.h
+1
-1
memcpy_unaligned.c
libs/port/memcpy_unaligned.c
+2
-0
No files found.
include/wine/port.h
View file @
a2034215
...
@@ -258,7 +258,7 @@ int usleep (unsigned int useconds);
...
@@ -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
);
}
}
...
...
libs/port/memcpy_unaligned.c
View file @
a2034215
...
@@ -21,7 +21,9 @@
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment