Skip to content

Commit 94102ee

Browse files
committed
Fix an ARM compile error
1 parent 49ff834 commit 94102ee

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

COREDLL/dllmain.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ typedef UINT(__cdecl* CE_ENTRYPOINT)(HINSTANCE, HINSTANCE, LPCWSTR, int);
66
void WceclEntrypointWrapper();
77

88
#ifdef _M_IX86
9+
#else
10+
/* FIXME: No patching code for architectures other than x86. */
11+
#endif
12+
913
#pragma pack(push, 1)
1014

1115
static struct
@@ -16,9 +20,6 @@ static struct
1620
}
1721
EntrypointHijackCode[] = { {0x68, WceclEntrypointWrapper, 0xC3} };
1822
#pragma pack(pop)
19-
#else
20-
/* FIXME: No patching code for architectures other than x86. */
21-
#endif
2223

2324
static BYTE EntrypointRepairCode[sizeof(EntrypointHijackCode)];
2425
CE_ENTRYPOINT Entrypoint;

0 commit comments

Comments
 (0)