]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rocksdb/util/gflags_compat.h
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / rocksdb / util / gflags_compat.h
index 0ea3aef5e94f881165d002dd7a12b43ef9f12308..d5a30ce7e5d38969b7566f2c93d6921658a77060 100644 (file)
 // still google by default.
 #define GFLAGS_NAMESPACE google
 #endif
+
+#ifndef DEFINE_uint32
+// DEFINE_uint32 does not appear in older versions of gflags. This should be
+// a sane definition for those versions.
+#define DEFINE_uint32(name, val, txt) \
+  DEFINE_VARIABLE(GFLAGS_NAMESPACE::uint32, U, name, val, txt)
+#endif