CVS update: /common/system/

CVS update: /common/system/

milko at helixcommunity.org milko at helixcommunity.org
Sat Jan 18 04:48:01 PST 2003


User: milko   
Date: 03/01/17 20:48:01

Modified
 /common/system/
  stataccs.cpp

Log
 fixed for static (nodll) build

File Changes:

Directory: /common/system/
==========================

File [changed]: stataccs.cpp
Url: https://common.helixcommunity.org/source/browse/common/system/stataccs.cpp.diff?r1=1.2&r2=1.3
Delta lines:  +3 -5
-------------------
--- stataccs.cpp	14 Dec 2002 00:02:26 -0000	1.2
+++ stataccs.cpp	18 Jan 2003 04:48:01 -0000	1.3
@@ -48,7 +48,6 @@
 //#define DLLACCESS_VERBOSE
 
 DLLAccess::DLLAccess() :
-    m_handle(0),
     m_curError(0),
     m_curErrorString(0),
     m_isOpen(0),
@@ -59,7 +58,6 @@
 }
 
 DLLAccess::DLLAccess(const char* dllName, UINT16 nLibType):
-    m_handle(0),
     m_curError(0),
     m_curErrorString(0),
     m_isOpen(0),
@@ -96,7 +94,7 @@
             *searcher = '\0';
     }
     setDLLName(searcher);
-#elif defined(_WINDOWS)
+#elif defined(_WINDOWS) || defined(_SYMBIAN)
     // Strip off "3260.dll"
     char* searcher = strstr(tmpDllName, "3260.dll");
     if (searcher)
@@ -158,11 +156,11 @@
 #if defined(_DEBUG) && defined(DLLACCESS_VERBOSE)
 	fprintf(stderr, "succeeded\n");
 #endif
-    return OK;
+    return DLL_OK;
 }
 
 int DLLAccess::close() {
-    return (m_curError = OK);
+    return (m_curError = DLL_OK);
 }
 
 void *DLLAccess::getSymbol (const char * symName) {




---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe at common.helixcommunity.org
For additional commands, e-mail: cvs-help at common.helixcommunity.org




More information about the Common-cvs mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.