diff options
author | SaeHie Park <saehie.park@gmail.com> | 2016-11-30 23:21:04 +0900 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2016-11-30 15:21:04 +0100 |
commit | fa6222d52a81c24077206cf5082b2f3967e67ebc (patch) | |
tree | ecbdd383f29b7ef7eaa6baea2678fbe55112fd04 /tests | |
parent | fb5f8d70e8b85e084af2cb52b70914b3428652a1 (diff) | |
download | coreclr-fa6222d52a81c24077206cf5082b2f3967e67ebc.tar.gz coreclr-fa6222d52a81c24077206cf5082b2f3967e67ebc.tar.bz2 coreclr-fa6222d52a81c24077206cf5082b2f3967e67ebc.zip |
[x86/Linux] Fix prototype for GCThreadStub (#8397)
Fix compile error for x86/Linux
- fix "cannot initialize a parameter of type 'LPTHREAD_START_ROUTINE'"
- add __stdcall GCThreadStub as it's Windows/Linux common code
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/Common/Platform/platformdefines.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/Common/Platform/platformdefines.h b/tests/src/Common/Platform/platformdefines.h index c196b0c5d7..0961e86b2d 100644 --- a/tests/src/Common/Platform/platformdefines.h +++ b/tests/src/Common/Platform/platformdefines.h @@ -72,7 +72,7 @@ LPWSTR HackyConvertToWSTR(char* pszInput); typedef pthread_t THREAD_ID; typedef void* (*MacWorker)(void*); -typedef DWORD (*LPTHREAD_START_ROUTINE)(void*); +typedef DWORD __stdcall (*LPTHREAD_START_ROUTINE)(void*); #ifdef UNICODE typedef WCHAR TCHAR; #else // ANSI |