Index: third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_commandlineflags.h |
=================================================================== |
--- third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_commandlineflags.h (revision 0) |
+++ third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_commandlineflags.h (revision 0) |
@@ -0,0 +1,26 @@ |
+// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef BAR_TOOLBAR_CLD_I18N_ENCODINGS_COMPACT_LANG_DET_WIN_CLD_COMMANDLINEFLAGS_H_ |
+#define BAR_TOOLBAR_CLD_I18N_ENCODINGS_COMPACT_LANG_DET_WIN_CLD_COMMANDLINEFLAGS_H_ |
+ |
+#include "third_party/cld/base/commandlineflags.h" |
+ |
+#if defined(CLD_WINDOWS) |
+ |
+#undef DEFINE_bool |
+#define DEFINE_bool(name, default_value, comment) \ |
+ const bool FLAGS_##name = default_value; |
+#undef DEFINE_int32 |
+#define DEFINE_int32(name, default_value, comment) \ |
+ const int32 FLAGS_##name = default_value; |
+ |
+#undef DECLARE_bool |
+#define DECLARE_bool(name) extern const bool FLAGS_##name; |
+#undef DECLARE_int32 |
+#define DECLARE_int32(name) extern int32 FLAGS_##name; |
+ |
+#endif |
+ |
+#endif // BAR_TOOLBAR_CLD_I18N_ENCODINGS_COMPACT_LANG_DET_WIN_CLD_COMMANDLINEFLAGS_H_ |
Property changes on: third_party\cld\bar\toolbar\cld\i18n\encodings\compact_lang_det\win\cld_commandlineflags.h |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |