From 65c96007fef69ac5316544632ea7b04429dd980f Mon Sep 17 00:00:00 2001 From: Karl Waclawek Date: Mon, 26 Aug 2002 01:33:56 +0000 Subject: [PATCH] Removed DllMain function for Windows Dll. Not needed, since we don't intialize antything, and it gets in the way when building a static Expat library that is used by a Dll. --- expat/lib/xmlparse.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/expat/lib/xmlparse.c b/expat/lib/xmlparse.c index 97d6757d..830588e3 100644 --- a/expat/lib/xmlparse.c +++ b/expat/lib/xmlparse.c @@ -593,13 +593,6 @@ typedef struct { #define paramEntityParsing (((Parser *)parser)->m_paramEntityParsing) #endif /* XML_DTD */ -#ifdef COMPILED_FROM_DSP -BOOL WINAPI -DllMain(HINSTANCE h, DWORD r, LPVOID p) { - return TRUE; -} -#endif /* def COMPILED_FROM_DSP */ - #ifdef _MSC_VER #ifdef _DEBUG Parser * -- 2.40.0