Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1859)

Side by Side Diff: base/file_version_info.h

Issue 118469: compile on openbsd: mostly ifdefs and missing includes,... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_FILE_VERSION_INFO_H__ 5 #ifndef BASE_FILE_VERSION_INFO_H__
6 #define BASE_FILE_VERSION_INFO_H__ 6 #define BASE_FILE_VERSION_INFO_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 scoped_ptr_malloc<char> data_; 81 scoped_ptr_malloc<char> data_;
82 int language_; 82 int language_;
83 int code_page_; 83 int code_page_;
84 // This is a pointer into the data_ if it exists. Otherwise NULL. 84 // This is a pointer into the data_ if it exists. Otherwise NULL.
85 VS_FIXEDFILEINFO* fixed_file_info_; 85 VS_FIXEDFILEINFO* fixed_file_info_;
86 #elif defined(OS_MACOSX) 86 #elif defined(OS_MACOSX)
87 explicit FileVersionInfo(NSBundle *bundle); 87 explicit FileVersionInfo(NSBundle *bundle);
88 88
89 NSBundle *bundle_; 89 NSBundle *bundle_;
90 #elif defined(OS_LINUX) 90 #elif defined(OS_LINUX) || defined(OS_OPENBSD)
91 FileVersionInfo(); 91 FileVersionInfo();
92 #endif 92 #endif
93 93
94 DISALLOW_EVIL_CONSTRUCTORS(FileVersionInfo); 94 DISALLOW_EVIL_CONSTRUCTORS(FileVersionInfo);
95 }; 95 };
96 96
97 #endif // BASE_FILE_VERSION_INFO_H__ 97 #endif // BASE_FILE_VERSION_INFO_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698