summaryrefslogtreecommitdiffstats
path: root/base/logging.h
diff options
context:
space:
mode:
authorpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-06 14:31:11 +0000
committerpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-06 14:31:11 +0000
commitba097f00bb797f5e5a11d3feda397baefa3e67dc (patch)
tree35f2164b7b5f40ed16db32a90773a6b10d946350 /base/logging.h
parent13c9eec10f8635f9e8b7d5398c529f93391d2dd5 (diff)
downloadchromium_src-ba097f00bb797f5e5a11d3feda397baefa3e67dc.zip
chromium_src-ba097f00bb797f5e5a11d3feda397baefa3e67dc.tar.gz
chromium_src-ba097f00bb797f5e5a11d3feda397baefa3e67dc.tar.bz2
Changes for POSIX support. Yay for ifdefs!
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@430 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/logging.h')
-rw-r--r--base/logging.h4
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);