blob: b166432428647289e40d0a8e8bbf6e7eb19c19c1 [file] [log] [blame]
// Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// platform_macos_cocoa[.h,.mm] defines a new compilation unit, written
// in Objective-C++, that acts as a minimal bridge between platform_macos
// and the Cocoa ( API.
#include "platform/globals.h"
#if !defined(DART_HOST_OS_MACOS)
#error Do not include platform_macos_cocoa.h on non-MacOS platforms.
#include <string>
namespace dart {
namespace bin {
// Return the operating system version string.
// See
std::string NSProcessInfoOperatingSystemVersionString();
} // namespace bin
} // namespace dart