diff options
author | Christina Rossmanith <ChrRossmanith@web.de> | 2011-05-13 21:36:25 +0200 |
---|---|---|
committer | Christina Rossmanith <ChrRossmanith@web.de> | 2011-06-05 21:34:04 +0200 |
commit | 2c3a8596672739e06fbad428dcde24223e308c57 (patch) | |
tree | edc5573732a37fdc77ac5e0ee3a87351f26366ec /sal | |
parent | 98c4513f2ec3fd16871b4493cab146731199370f (diff) |
Simplified #define OSL_FILE_TRACE
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/file.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx index a1984d9d3d45..d57820b5798e 100644 --- a/sal/osl/unx/file.cxx +++ b/sal/osl/unx/file.cxx @@ -59,13 +59,15 @@ #endif /* MACOSX */ #ifdef DEBUG_OSL_FILE -# define OSL_FILE_TRACE 0 ? (void)(0) : osl_trace +# define OSL_FILE_TRACE osl_trace # define PERROR( a, b ) perror( a ); fprintf( stderr, b ) #else -# define OSL_FILE_TRACE 1 ? (void)(0) : osl_trace +# define OSL_FILE_TRACE(fmt, ...) # define PERROR( a, b ) #endif + + /******************************************************************* * * FileHandle_Impl interface |