Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdeel <adeelbm@outlook.com>2017-10-04 23:49:24 +0300
committerAdeel <adeelbm@outlook.com>2017-10-04 23:49:24 +0300
commit753c19b595773f4fabbba09ef184385324271d45 (patch)
tree4aa695538ab8c41d4aa48ed16635f90e4e5d7663 /src/Native/Runtime/PalRedhawk.h
parent72a64d72d9d07dc2b9085a22129e3361c7b34dcd (diff)
Enable x86 support for Unix
Also enabled cross compilation of x86 binaries on x64 host. Ubuntu Dockerfiles: <details> <summary><b><ins>Baseline: x64 build on x64 host</ins></b></summary> ```dockerfile FROM ubuntu RUN cat /etc/*-release RUN apt-get update RUN apt-get install -y \ autoconf bash clang cmake gcc libtool curl \ libunwind-dev llvm make openssl lldb git uuid-dev RUN git clone https://github.com/dotnet/corert -b master --single-branch WORKDIR /corert RUN ./build.sh # or ./build.sh x64 ``` </details> <details> <summary><b><ins>PR: x86 build on x86 host</ins></b></summary> ```dockerfile FROM i386/ubuntu RUN cat /etc/*-release RUN apt-get update RUN apt-get install -y \ bash clang cmake gcc libtool curl \ libunwind-dev llvm make openssl lldb git uuid-dev RUN git clone https://github.com/am11/corert -b linux-x86 --single-branch WORKDIR /corert RUN ./build.sh x86 ``` </details> <details> <summary><b><ins>PR: x86 build on x64 host</ins></b></summary> ```dockerfile FROM ubuntu RUN cat /etc/*-release RUN apt-get update RUN apt-get install -y \ bash clang cmake gcc libtool curl \ libunwind-dev llvm make openssl lldb git uuid-dev \ g++-multilib RUN git clone https://github.com/am11/corert -b linux-x86 --single-branch WORKDIR /corert RUN ./build.sh x86 ``` </details>
Diffstat (limited to 'src/Native/Runtime/PalRedhawk.h')
-rw-r--r--src/Native/Runtime/PalRedhawk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Native/Runtime/PalRedhawk.h b/src/Native/Runtime/PalRedhawk.h
index 86d0ee917..0dc30f19d 100644
--- a/src/Native/Runtime/PalRedhawk.h
+++ b/src/Native/Runtime/PalRedhawk.h
@@ -31,7 +31,7 @@
#endif
#ifndef _INC_WINDOWS
-//#ifndef DACCESS_COMPILE
+//#ifndef DACCESS_COMPILE
// There are some fairly primitive type definitions below but don't pull them into the rest of Redhawk unless
// we have to (in which case these definitions will move to CommonTypes.h).
@@ -807,7 +807,7 @@ typedef UInt32 (__stdcall *BackgroundCallback)(_In_opt_ void* pCallbackContext);
REDHAWK_PALIMPORT bool REDHAWK_PALAPI PalStartBackgroundGCThread(_In_ BackgroundCallback callback, _In_opt_ void* pCallbackContext);
REDHAWK_PALIMPORT bool REDHAWK_PALAPI PalStartFinalizerThread(_In_ BackgroundCallback callback, _In_opt_ void* pCallbackContext);
-typedef UInt32 (__stdcall *PalHijackCallback)(HANDLE hThread, _In_ PAL_LIMITED_CONTEXT* pThreadContext, _In_opt_ void* pCallbackContext);
+typedef UInt32_BOOL (*PalHijackCallback)(HANDLE hThread, _In_ PAL_LIMITED_CONTEXT* pThreadContext, _In_opt_ void* pCallbackContext);
REDHAWK_PALIMPORT UInt32 REDHAWK_PALAPI PalHijack(HANDLE hThread, _In_ PalHijackCallback callback, _In_opt_ void* pCallbackContext);
#ifdef FEATURE_ETW