diff options
Diffstat (limited to 'src/pal/tests/palsuite/threading/DisableThreadLibraryCalls/test1')
-rw-r--r-- | src/pal/tests/palsuite/threading/DisableThreadLibraryCalls/test1/test1.cpp | 4 | ||||
-rw-r--r-- | src/pal/tests/palsuite/threading/DisableThreadLibraryCalls/test1/testlib.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/pal/tests/palsuite/threading/DisableThreadLibraryCalls/test1/test1.cpp b/src/pal/tests/palsuite/threading/DisableThreadLibraryCalls/test1/test1.cpp index b64fd0c7d2..55251d46bf 100644 --- a/src/pal/tests/palsuite/threading/DisableThreadLibraryCalls/test1/test1.cpp +++ b/src/pal/tests/palsuite/threading/DisableThreadLibraryCalls/test1/test1.cpp @@ -26,7 +26,7 @@ #define GETCALLCOUNT "_GetCallCount@0" #endif -DWORD __stdcall ThreadFunc(LPVOID lpParam); +DWORD PALAPI ThreadFunc(LPVOID lpParam); int RunTest(int DisableThreadCalls); int __cdecl main(int argc, char **argv) @@ -78,7 +78,7 @@ int __cdecl main(int argc, char **argv) /* * Thread entry point. Doesn't do anything. */ -DWORD __stdcall ThreadFunc(LPVOID lpParam) +DWORD PALAPI ThreadFunc(LPVOID lpParam) { return 0; } diff --git a/src/pal/tests/palsuite/threading/DisableThreadLibraryCalls/test1/testlib.cpp b/src/pal/tests/palsuite/threading/DisableThreadLibraryCalls/test1/testlib.cpp index 53b66d1357..057dfde66d 100644 --- a/src/pal/tests/palsuite/threading/DisableThreadLibraryCalls/test1/testlib.cpp +++ b/src/pal/tests/palsuite/threading/DisableThreadLibraryCalls/test1/testlib.cpp @@ -15,7 +15,7 @@ static int Count; -BOOL __stdcall DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +BOOL PALAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { if (fdwReason == DLL_PROCESS_ATTACH) @@ -32,7 +32,7 @@ BOOL __stdcall DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) } #ifdef WIN32 -BOOL __stdcall _DllMainCRTStartup(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +BOOL PALAPI _DllMainCRTStartup(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { return DllMain(hinstDLL, fdwReason, lpvReserved); } @@ -41,7 +41,7 @@ BOOL __stdcall _DllMainCRTStartup(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lp #ifdef WIN32 __declspec(dllexport) #endif -int __stdcall GetCallCount() +int PALAPI GetCallCount() { return Count; } |