[FREELDR][NETKVM][ATL_APITEST] Pick the GCC code path for clang in some cases. CORE-17202

This commit is contained in:
Thomas Faber 2020-08-15 21:38:31 +02:00
parent a81788e5bf
commit 794d00c303
No known key found for this signature in database
GPG key ID: 076E7C3D44720826
3 changed files with 3 additions and 3 deletions

View file

@ -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)

View file

@ -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

View file

@ -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);