From 8d5057576a9acef8eb6baa7b40e367429afaba21 Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Tue, 15 Apr 2003 15:18:02 +0000 Subject: INTEGRATION: CWS dbgmacros1 (1.5.72); FILE MERGED 2003/04/09 10:54:50 kso 1.5.72.1: #108413# - debug macro unification. --- extensions/source/plugin/unx/npwrap.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'extensions/source/plugin/unx') diff --git a/extensions/source/plugin/unx/npwrap.cxx b/extensions/source/plugin/unx/npwrap.cxx index 6e713a440eea..7d679a4ec9f4 100644 --- a/extensions/source/plugin/unx/npwrap.cxx +++ b/extensions/source/plugin/unx/npwrap.cxx @@ -2,9 +2,9 @@ * * $RCSfile: npwrap.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: pl $ $Date: 2002-06-27 19:44:13 $ + * last change: $Author: vg $ $Date: 2003-04-15 16:18:02 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -77,7 +77,7 @@ extern void* pPluginLib; static long GlobalConnectionLostHdl( void* pInst, void* pArg ) { -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 fprintf( stderr, "xhello exiting due to connection lost\n" ); #endif exit( 0 ); @@ -178,7 +178,7 @@ static void CheckPlugin( const char* pPath ) void *pLib = dlopen( pPath, RTLD_LAZY ); if( ! pLib ) { -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 fprintf( stderr, "could not dlopen( %s ) (%s)\n", pPath, dlerror() ); #endif return; @@ -188,7 +188,7 @@ static void CheckPlugin( const char* pPath ) dlsym( pLib, "NP_GetMIMEDescription" ); if( pNP_GetMIMEDescription ) printf( "%s\n", pNP_GetMIMEDescription() ); -#ifdef DEBUG +#if OSL_DEBUG_LEVEL > 1 else fprintf( stderr, "could not dlsym NP_GetMIMEDescription (%s)\n", dlerror() ); #endif -- cgit v1.2.3