summaryrefslogtreecommitdiffstats
path: root/base/file_version_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/file_version_info.h')
-rw-r--r--base/file_version_info.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/base/file_version_info.h b/base/file_version_info.h
index 19407d2..41a97fa 100644
--- a/base/file_version_info.h
+++ b/base/file_version_info.h
@@ -24,10 +24,13 @@ class FileVersionInfo {
// goes wrong (typically the file does not exit or cannot be opened). The
// returned object should be deleted when you are done with it.
static FileVersionInfo* CreateFileVersionInfo(const FilePath& file_path);
+#endif // OS_WIN || OS_MACOSX
+
+#if defined(OS_WIN)
// This version, taking a wstring, is deprecated and only kept around
// until we can fix all callers.
static FileVersionInfo* CreateFileVersionInfo(const std::wstring& file_path);
-#endif
+#endif // OS_WIN
// Creates a FileVersionInfo for the current module. Returns NULL in case
// of error. The returned object should be deleted when you are done with it.