diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-08-05 22:56:02 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-08-05 22:56:02 +0300 |
commit | 10ac9e750447fd57e3cef7993b0ad6c6538d6269 (patch) | |
tree | 8a0c4b946d07a163de33652dbb84fbaf93d5f275 | |
parent | af31defd4ed23dc55aa1295096257b67dc0e0779 (diff) |
Print debugging output only if OSL_DEBUG_LEVEL > 1FINAL_MASTERmaster-backup
-rw-r--r-- | sal/osl/unx/nlsupport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/nlsupport.c b/sal/osl/unx/nlsupport.c index 563aae980..c02af7852 100644 --- a/sal/osl/unx/nlsupport.c +++ b/sal/osl/unx/nlsupport.c @@ -908,8 +908,8 @@ void _imp_getProcessLocale( rtl_Locale ** ppLocale ) setenv("LC_CTYPE", locale, 1 ); setenv("LANG", locale, 1 ); -#ifdef DEBUG - fprintf( stderr, "nlsupport.c: _imp_getProcessLocale() returning %s as current locale.\n", locale ); +#if OSL_DEBUG_LEVEL > 1 + OSL_TRACE("_imp_getProcessLocale() returning %s as current locale.\n", locale ); #endif // pthread_mutex_unlock( &aLocalMutex ); |