From b38c634a37a67db91e8995340f42caec60c33665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Jab=C5=82o=C5=84ski?= Date: Sun, 14 Apr 2024 00:56:40 +0200 Subject: [PATCH] Remove unnecessary __stdcall defines --- COREDLL/dllmain.cpp | 1 - COREDLL/stdafx.h | 12 ------------ 2 files changed, 13 deletions(-) diff --git a/COREDLL/dllmain.cpp b/COREDLL/dllmain.cpp index 552116b..b303629 100644 --- a/COREDLL/dllmain.cpp +++ b/COREDLL/dllmain.cpp @@ -1,7 +1,6 @@ // dllmain.cpp : Defines the entry point for the DLL application. #include "stdafx.h" -#undef __stdcall // DllMain should be __stdcall always BOOL __stdcall DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved diff --git a/COREDLL/stdafx.h b/COREDLL/stdafx.h index 60cc224..8f5c58a 100644 --- a/COREDLL/stdafx.h +++ b/COREDLL/stdafx.h @@ -56,18 +56,6 @@ typedef struct tagWIN32_FIND_DATA_WCECL #undef RasHangUp #undef RasDial -// Windows CE uses __cdecl instead of __stdcall everywhere, including WINAPI macro -// (defined in wce/windef.h) -#ifdef __stdcall -#undef __stdcall -#endif -#define __stdcall __cdecl - -#ifdef _stdcall -#undef _stdcall -#endif -#define _stdcall _cdecl - #ifdef WINAPI #undef WINAPI #endif