Fixed conformance tests compilation with older gflags version (#12866)

This commit is contained in:
Ilya Lavrenov 2022-09-02 09:47:06 +04:00 committed by GitHub
parent 9590a77025
commit dbae8e0c72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,11 @@
#include <iostream>
#include <limits.h>
// gflags supports uint32 starting from v2.2 only
#ifndef DEFINE_uint32
# define DEFINE_uint32(name, val, txt) DEFINE_VARIABLE(GFLAGS_NAMESPACE::uint32, U, name, val, txt)
#endif
namespace ov {
namespace test {
namespace conformance {