diff options
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_connection.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_connection.cxx b/connectivity/source/drivers/postgresql/pq_connection.cxx index e07c035eda70..0b5ea84bc6fa 100644 --- a/connectivity/source/drivers/postgresql/pq_connection.cxx +++ b/connectivity/source/drivers/postgresql/pq_connection.cxx @@ -132,11 +132,11 @@ static LogLevel readLogLevelFromConfiguration() OUString fileName; osl_getModuleURLFromFunctionAddress( reinterpret_cast<oslGenericFunction>(readLogLevelFromConfiguration), &fileName.pData ); - fileName = fileName.copy( fileName.lastIndexOf( '/' )+1 ); + fileName = fileName.copy( fileName.lastIndexOf( '/' )+1 ) + #ifdef MACOSX - fileName += "../Resources/"; + "../Resources/" #endif - fileName += "postgresql-sdbc.ini"; + "postgresql-sdbc.ini"; rtl::Bootstrap bootstrapHandle( fileName ); OUString str; |