summaryrefslogtreecommitdiff
path: root/src/inc/corcompile.h
diff options
context:
space:
mode:
authorHyeongseok Oh <hseok82.oh@samsung.com>2017-02-07 13:06:36 +0900
committerJan Kotas <jkotas@microsoft.com>2017-02-06 20:06:36 -0800
commit3108cc7e12e004e6c6bab2daf7826dd97957101f (patch)
tree6f7a99358478e310cb9101762df7ba56b6457529 /src/inc/corcompile.h
parentff1e4f3c2a9737f87608b735f6cd197523a2026b (diff)
downloadcoreclr-3108cc7e12e004e6c6bab2daf7826dd97957101f.tar.gz
coreclr-3108cc7e12e004e6c6bab2daf7826dd97957101f.tar.bz2
coreclr-3108cc7e12e004e6c6bab2daf7826dd97957101f.zip
[ARM32/Linux] Fix calling convention - stdcall in crossgen (#9364)
* [ARM32/Linux] Fix calling convention - sdcall in crossgen - Fix calling convention: not use stdcall for ENCODEMODULE_CALLBACK & DEFINETOKEN_CALLBACK in linux/x86 x86-host/arm32-target crossgen & x86 crossgen build error in clang 3.9: not allowed calling convention casting
Diffstat (limited to 'src/inc/corcompile.h')
-rw-r--r--src/inc/corcompile.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/inc/corcompile.h b/src/inc/corcompile.h
index 73463146c6..9cd072008a 100644
--- a/src/inc/corcompile.h
+++ b/src/inc/corcompile.h
@@ -1456,14 +1456,13 @@ class ICorCompilationDomain
/*********************************************************************************
* ICorCompileInfo is the interface for a compiler
*********************************************************************************/
-
// Define function pointer ENCODEMODULE_CALLBACK
-typedef DWORD (__stdcall *ENCODEMODULE_CALLBACK)(LPVOID pModuleContext, CORINFO_MODULE_HANDLE moduleHandle);
+typedef DWORD (*ENCODEMODULE_CALLBACK)(LPVOID pModuleContext, CORINFO_MODULE_HANDLE moduleHandle);
// Define function pointer DEFINETOKEN_CALLBACK
-typedef void (__stdcall *DEFINETOKEN_CALLBACK)(LPVOID pModuleContext, CORINFO_MODULE_HANDLE moduleHandle, DWORD index, mdTypeRef* token);
+typedef void (*DEFINETOKEN_CALLBACK)(LPVOID pModuleContext, CORINFO_MODULE_HANDLE moduleHandle, DWORD index, mdTypeRef* token);
-typedef HRESULT (__stdcall *CROSS_DOMAIN_CALLBACK)(LPVOID pArgs);
+typedef HRESULT (*CROSS_DOMAIN_CALLBACK)(LPVOID pArgs);
class ICorCompileInfo
{