diff -ur teckit-2.5.10/source/Engine.cpp teckit-src/source/Engine.cpp --- teckit-2.5.10/source/Engine.cpp Tue May 05 23:09:53 2020 +++ teckit-src/source/Engine.cpp Wed May 06 09:06:23 2020 @@ -51,12 +51,6 @@ # define NOSERVICE # define NOMCX # include - - BOOL WINAPI - DllMain(HINSTANCE /*hInst*/, DWORD /*wDataSeg*/, LPVOID /*lpReserved*/) - { - return true; - } #endif #include "Engine.h" diff -ur teckit-2.5.10/source/Public-headers/TECkit_Compiler.h teckit-src/source/Public-headers/TECkit_Compiler.h --- teckit-2.5.10/source/Public-headers/TECkit_Compiler.h Tue May 05 23:09:53 2020 +++ teckit-src/source/Public-headers/TECkit_Compiler.h Wed May 06 09:07:39 2020 @@ -29,6 +29,9 @@ #ifdef _WIN32 /* MS compiler has predefined _WIN32, so assume Windows target */ #include // apparently just using windef.h fails on VC++6 +#undef WINAPI +#define WINAPI +#define EXPORTED #else /* not the MS compiler, so try Metrowerks' platform macros */ #ifndef __APPLE__ diff -ur teckit-2.5.10/source/Public-headers/TECkit_Engine.h teckit-src/source/Public-headers/TECkit_Engine.h --- teckit-2.5.10/source/Public-headers/TECkit_Engine.h Tue May 05 23:09:53 2020 +++ teckit-src/source/Public-headers/TECkit_Engine.h Wed May 06 09:08:33 2020 @@ -79,6 +79,9 @@ #ifdef _WIN32 /* MS compiler has predefined _WIN32, so assume Windows target */ #include +#undef WINAPI +#define WINAPI +#define EXPORTED #else /* not the MS compiler, so try Metrowerks' platform macros */ #ifndef __APPLE__