Removed DllMain function for Windows Dll.
authorKarl Waclawek <kwaclaw@users.sourceforge.net>
Mon, 26 Aug 2002 01:33:56 +0000 (01:33 +0000)
committerKarl Waclawek <kwaclaw@users.sourceforge.net>
Mon, 26 Aug 2002 01:33:56 +0000 (01:33 +0000)
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

index 97d6757d5b10aced4230564e5a6fb55280823cbe..830588e3d67e13b1331d95f865c616d02e73ede0 100644 (file)
@@ -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 *