	For TeX Live we build a static library and not a Dll.


diff -ur teckit-2.5.9/source/Engine.cpp teckit-src/source/Engine.cpp
--- teckit-2.5.9/source/Engine.cpp	Tue Mar 19 00:23:12 2019
+++ teckit-src/source/Engine.cpp	Tue Mar 19 07:29:37 2019
@@ -51,12 +51,6 @@
 #	define NOSERVICE
 #	define NOMCX
 #	include <windows.h>
-
-	BOOL WINAPI
-	DllMain(HINSTANCE /*hInst*/, DWORD /*wDataSeg*/, LPVOID /*lpReserved*/)
-	{
-		return true;
-	}
 #endif
 
 #include "Engine.h"

diff -ur teckit-2.5.9/source/Public-headers/TECkit_Compiler.h teckit-src/source/Public-headers/TECkit_Compiler.h
--- teckit-2.5.9/source/Public-headers/TECkit_Compiler.h	Tue Mar 19 00:23:12 2019
+++ teckit-src/source/Public-headers/TECkit_Compiler.h	Tue Mar 19 07:31:10 2019
@@ -29,6 +29,9 @@
 #ifdef _WIN32
 /* MS compiler has predefined _WIN32, so assume Windows target  */
 #include <windows.h>	// 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.9/source/Public-headers/TECkit_Engine.h teckit-src/source/Public-headers/TECkit_Engine.h
--- teckit-2.5.9/source/Public-headers/TECkit_Engine.h	Tue Mar 19 00:23:12 2019
+++ teckit-src/source/Public-headers/TECkit_Engine.h	Tue Mar 19 07:32:08 2019
@@ -79,6 +79,9 @@
 #ifdef _WIN32
 /* MS compiler has predefined _WIN32, so assume Windows target  */
 #include <windows.h>
+#undef WINAPI
+#define WINAPI
+#define EXPORTED
 #else
 /* not the MS compiler, so try Metrowerks' platform macros */
 #ifndef __APPLE__
