Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Fix Windows, OS X, Linux, FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
benpye committed Jul 7, 2015
1 parent e2f0480 commit 45513a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/pal/inc/unixasmmacros.inc
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ C_FUNC(\Name\()_End):
.macro END_PROLOGUE
.endm

#if _AMD64_
#if defined(_AMD64_)
.macro PREPARE_EXTERNAL_VAR Name, HelperReg
mov \HelperReg, [rip + C_FUNC(\Name)@GOTPCREL]
.endm
Expand Down Expand Up @@ -354,7 +354,7 @@ C_FUNC(\Name\()_End):

.endm

#elif _ARM_
#elif defined(_ARM_)
.macro PREPARE_EXTERNAL_VAR Name, HelperReg
ldr \HelperReg, [pc, #C_FUNC(\Name)@GOTPCREL]
.endm
Expand Down
2 changes: 1 addition & 1 deletion src/vm/stublink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ StubLinker::StubLinker()
m_pPatchLabel = NULL;
m_stackSize = 0;
m_fDataOnly = FALSE;
#if STUBLINKER_GENERATES_UNWIND_INFO
#ifdef STUBLINKER_GENERATES_UNWIND_INFO
#ifdef _DEBUG
m_pUnwindInfoCheckLabel = NULL;
#endif
Expand Down

0 comments on commit 45513a6

Please sign in to comment.