1// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#ifndef ENCODINGS_COMPACT_LANG_DET_WIN_CLD_COMMANDLINEFLAGS_H_ 6#define ENCODINGS_COMPACT_LANG_DET_WIN_CLD_COMMANDLINEFLAGS_H_ 7 8#if !defined(CLD_WINDOWS) 9 10#include "base/commandlineflags.h" 11 12#else 13 14#undef DEFINE_bool 15#define DEFINE_bool(name, default_value, comment) \ 16 const bool FLAGS_##name = default_value; 17#undef DEFINE_int32 18#define DEFINE_int32(name, default_value, comment) \ 19 const int32 FLAGS_##name = default_value; 20 21#undef DECLARE_bool 22#define DECLARE_bool(name) extern const bool FLAGS_##name; 23#undef DECLARE_int32 24#define DECLARE_int32(name) extern int32 FLAGS_##name; 25 26#endif 27 28#endif // ENCODINGS_COMPACT_LANG_DET_WIN_CLD_COMMANDLINEFLAGS_H_ 29