Kaydet (Commit) 3b334a3c authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS ooo11rc2 (1.5.10); FILE MERGED

2003/07/14 16:04:47 fa 1.5.10.1: Support ODBC libraries on Mac OS X.

http://www.openoffice.org/project/www/issues/show_bug.cgi?id=16726

Dan
fa@ooo
üst ccae8508
......@@ -2,9 +2,9 @@
*
* $RCSfile: OFunctions.cxx,v $
*
* $Revision: 1.5 $
* $Revision: 1.6 $
*
* last change: $Author: vg $ $Date: 2003-06-06 10:50:52 $
* last change: $Author: hr $ $Date: 2003-07-16 17:30:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -152,10 +152,14 @@ sal_Bool LoadLibrary_ODBC3(::rtl::OUString &_rPath)
_rPath = ::rtl::OUString::createFromAscii("ODBC32.DLL");
#endif
#ifdef UNX
#ifdef MACOSX
_rPath = ::rtl::OUString::createFromAscii("libiodbc.dylib");
#else
_rPath = ::rtl::OUString::createFromAscii("libodbc.so.1");
pODBCso = osl_loadModule( _rPath.pData,SAL_LOADMODULE_NOW );
if ( !pODBCso )
_rPath = ::rtl::OUString::createFromAscii("libodbc.so");
#endif /* MACOSX */
#endif
#ifdef OS2
_rPath = ::rtl::OUString::createFromAscii("ODBC");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment