summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-02-01 16:43:48 -0800
committerJan Kotas <jkotas@microsoft.com>2016-02-01 16:43:48 -0800
commitf4f83fcd3ad4d30313e887fb679cd980f0b00aa3 (patch)
treec078d9a7b270619045812c526b7ba0b8597049b5 /src
parentcf8dd6d597223896dee309f15e60ddb957a3286d (diff)
parenta26d6f38ceee3ca7b901d7f3023c5d7798a7b564 (diff)
downloadcoreclr-f4f83fcd3ad4d30313e887fb679cd980f0b00aa3.tar.gz
coreclr-f4f83fcd3ad4d30313e887fb679cd980f0b00aa3.tar.bz2
coreclr-f4f83fcd3ad4d30313e887fb679cd980f0b00aa3.zip
Merge pull request #2958 from jkotas/arm-fixes
Fix build breaks in Linux ARM build
Diffstat (limited to 'src')
-rw-r--r--src/inc/corhost.h6
-rw-r--r--src/jit/lower.cpp5
-rw-r--r--src/pal/tests/palsuite/exception_handling/pal_sxs/test1/exceptionsxs.cpp2
-rw-r--r--src/strongname/api/common.h6
4 files changed, 4 insertions, 15 deletions
diff --git a/src/inc/corhost.h b/src/inc/corhost.h
index 483580d47f..4a3a65a35f 100644
--- a/src/inc/corhost.h
+++ b/src/inc/corhost.h
@@ -45,12 +45,6 @@ class DangerousNonHostedSpinLock;
#define INVALID_STACK_BASE_MARKER_FOR_CHECK_STATE 2
-#ifndef _WIN64
-#if (_WIN32_WINNT < 0x0500)
-typedef VOID (__stdcall *WAITORTIMERCALLBACK)(PVOID, BOOL);
-#endif
-#endif
-
class AppDomain;
class Assembly;
diff --git a/src/jit/lower.cpp b/src/jit/lower.cpp
index f7eadbaf4c..976d347516 100644
--- a/src/jit/lower.cpp
+++ b/src/jit/lower.cpp
@@ -146,9 +146,10 @@ genTreeOps getHiOper(genTreeOps oper)
case GT_OR: return GT_OR; break;
case GT_AND: return GT_AND; break;
case GT_XOR: return GT_XOR; break;
+ default:
+ assert(!"getHiOper called for invalid oper");
+ return GT_NONE;
}
- assert(!"getHiOper called for invalid oper");
- return GT_NONE;
}
#endif // !defined(_TARGET_64BIT_)
diff --git a/src/pal/tests/palsuite/exception_handling/pal_sxs/test1/exceptionsxs.cpp b/src/pal/tests/palsuite/exception_handling/pal_sxs/test1/exceptionsxs.cpp
index 667f62ecfd..b78cfa8dbe 100644
--- a/src/pal/tests/palsuite/exception_handling/pal_sxs/test1/exceptionsxs.cpp
+++ b/src/pal/tests/palsuite/exception_handling/pal_sxs/test1/exceptionsxs.cpp
@@ -18,7 +18,7 @@ extern "C" int InitializeDllTest2();
extern "C" int DllTest1();
extern "C" int DllTest2();
-int __cdecl main(int argc, char *argv[])
+int main(int argc, char *argv[])
{
#ifndef __FreeBSD__
if (0 != InitializeDllTest1())
diff --git a/src/strongname/api/common.h b/src/strongname/api/common.h
index 4b5c4979b4..c83685cc0c 100644
--- a/src/strongname/api/common.h
+++ b/src/strongname/api/common.h
@@ -380,12 +380,6 @@ extern DummyGlobalContract ___contract;
#endif // defined(_DEBUG)
-// For down level platform compiles.
-#if !defined(_WIN64) && (_WIN32_WINNT < 0x0500)
-typedef VOID (__stdcall *WAITORTIMERCALLBACK)(PVOID, BOOL);
-#endif
-
-
// All files get to see all of these .inl files to make sure all files
// get the benefit of inlining.