1 // Copyright (c) 2017-present, Facebook, Inc. All rights reserved. 2 // This source code is licensed under both the GPLv2 (found in the 3 // COPYING file in the root directory) and Apache 2.0 License 4 // (found in the LICENSE.Apache file in the root directory). 5 6 #include <gflags/gflags.h> 7 8 #ifndef GFLAGS_NAMESPACE 9 // in case it's not defined in old versions, that's probably because it was 10 // still google by default. 11 #define GFLAGS_NAMESPACE google 12 #endif 13 14 #ifndef DEFINE_uint32 15 // DEFINE_uint32 does not appear in older versions of gflags. This should be 16 // a sane definition for those versions. 17 #define DEFINE_uint32(name, val, txt) \ 18 DEFINE_VARIABLE(GFLAGS_NAMESPACE::uint32, U, name, val, txt) 19 #endif 20