1 | // Copyright 2013 The Flutter Authors. All rights reserved. |
---|---|
2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. |
4 | |
5 | #ifndef FLUTTER_FML_POSIX_WRAPPERS_H_ |
6 | #define FLUTTER_FML_POSIX_WRAPPERS_H_ |
7 | |
8 | #include "flutter/fml/build_config.h" |
9 | |
10 | // Provides wrappers for POSIX functions that have been renamed on Windows. |
11 | // See |
12 | // https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-3-c4996?view=vs-2019#posix-function-names |
13 | // for context. |
14 | namespace fml { |
15 | |
16 | char* strdup(const char* str1); |
17 | |
18 | } // namespace fml |
19 | |
20 | #endif // FLUTTER_FML_POSIX_WRAPPERS_H_ |
21 |