diff options
Diffstat (limited to 'base/logging.h')
-rw-r--r-- | base/logging.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/logging.h b/base/logging.h index 40c176f..f380a9b 100644 --- a/base/logging.h +++ b/base/logging.h @@ -143,10 +143,10 @@ enum OldFileDeletionState { DELETE_OLD_LOG_FILE, APPEND_TO_OLD_LOG_FILE }; // The default log file is initialized to "debug.log" in the application // directory. You probably don't want this, especially since the program // directory may not be writable on an enduser's system. -#if defined(WIN32) +#if defined(OS_WIN) void InitLogging(const wchar_t* log_file, LoggingDestination logging_dest, LogLockingState lock_log, OldFileDeletionState delete_old); -#else +#elif defined(OS_POSIX) // TODO(avi): do we want to do a unification of character types here? void InitLogging(const char* log_file, LoggingDestination logging_dest, LogLockingState lock_log, OldFileDeletionState delete_old); |