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
193d15cc
Commit
193d15cc
authored
Jan 22, 2015
by
Charles Davis
Committed by
Alexandre Julliard
Jan 23, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Don't use %gs on 64-bit Mac OS.
parent
2ace215b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
thread.c
dlls/kernel32/thread.c
+1
-1
winbase.h
include/winbase.h
+1
-1
No files found.
dlls/kernel32/thread.c
View file @
193d15cc
...
...
@@ -607,7 +607,7 @@ __ASM_STDCALL_FUNC( GetCurrentThreadId, 0, ".byte 0x64\n\tmovl 0x24,%eax\n\tret"
/* HANDLE WINAPI GetProcessHeap(void) */
__ASM_STDCALL_FUNC
(
GetProcessHeap
,
0
,
".byte 0x64
\n\t
movl 0x30,%eax
\n\t
movl 0x18(%eax),%eax
\n\t
ret"
);
#elif defined(__x86_64__)
#elif defined(__x86_64__)
&& !defined(__APPLE__)
/***********************************************************************
* SetLastError (KERNEL32.@)
...
...
include/winbase.h
View file @
193d15cc
...
...
@@ -2783,7 +2783,7 @@ static FORCEINLINE LONG WINAPI InterlockedDecrement( LONG volatile *dest )
/* A few optimizations for gcc */
#if defined(__GNUC__) && !defined(__MINGW32__) && (defined(__i386__) ||
defined(__x86_64__
)) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 2)))
#if defined(__GNUC__) && !defined(__MINGW32__) && (defined(__i386__) ||
(defined(__x86_64__) && !defined(__APPLE__)
)) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 2)))
static
FORCEINLINE
DWORD
WINAPI
GetLastError
(
void
)
{
...
...
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