mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 08:30:21 +00:00
[FREELDR][NETKVM][ATL_APITEST] Pick the GCC code path for clang in some cases. CORE-17202
This commit is contained in:
parent
a81788e5bf
commit
794d00c303
3 changed files with 3 additions and 3 deletions
|
@ -676,7 +676,7 @@ WinLdrSetProcessorContext(void)
|
|||
__lidt(&IdtDesc);
|
||||
|
||||
/* Jump to proper CS and clear prefetch queue */
|
||||
#if defined(__GNUC__)
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
asm("ljmp $0x08, $1f\n"
|
||||
"1:\n");
|
||||
#elif defined(_MSC_VER)
|
||||
|
|
|
@ -236,7 +236,7 @@ NDIS_STATUS ParaNdis_OidQueryCommon(PARANDIS_ADAPTER *pContext, tOidDesc *pOid)
|
|||
USHORT us;
|
||||
NDIS_PNP_CAPABILITIES PMCaps;
|
||||
} u;
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_MSC_VER) && !defined(__clang__)
|
||||
#define CONCATFIELD(object, field) object.##field
|
||||
#else
|
||||
#define CONCATFIELD(object, field) object.field
|
||||
|
|
|
@ -102,7 +102,7 @@ START_TEST(CHeapPtrList)
|
|||
ok(g_OpenAllocations == 1, "Expected there to be 1 allocations, was: %ld\n", g_OpenAllocations);
|
||||
Ptr = test_Alloc(0x22222222);
|
||||
ok(g_OpenAllocations == 2, "Expected there to be 1 allocations, was: %ld\n", g_OpenAllocations);
|
||||
#ifdef _MSC_VER
|
||||
#if defined(_MSC_VER) && !defined(__clang__)
|
||||
heapPtr1.AddTail(CComHeapPtr<DWORD>(Ptr));
|
||||
#else
|
||||
CComHeapPtr<DWORD> xxx(Ptr);
|
||||
|
|
Loading…
Reference in a new issue