blob: 14f09f1fd5142969afa69e7c8e69e2ac6fa8c7bb [file] [log] [blame]
// Copyright 2013 The Flutter 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_POSIX_WRAPPERS_H_
#define FLUTTER_FML_POSIX_WRAPPERS_H_
#include "flutter/fml/build_config.h"
// Provides wrappers for POSIX functions that have been renamed on Windows.
// See
// https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-3-c4996?view=vs-2019#posix-function-names
// for context.
namespace fml {
char* strdup(const char* str1);
} // namespace fml
#endif // FLUTTER_FML_POSIX_WRAPPERS_H_