flutter_flutter/fml/platform/darwin/platform_version.h
2017-09-11 15:58:48 -07:00

18 lines
510 B
C++

// Copyright 2017 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 FLUTTER_FML_PLATFORM_DARWIN_PLATFORM_VERSION_H_
#define FLUTTER_FML_PLATFORM_DARWIN_PLATFORM_VERSION_H_
#include <sys/types.h>
#include "lib/fxl/macros.h"
namespace fml {
bool IsPlatformVersionAtLeast(size_t major, size_t minor = 0, size_t patch = 0);
} // namespace fml
#endif // FLUTTER_FML_PLATFORM_DARWIN_PLATFORM_VERSION_H_