diff options
| author | Joseph Huber <huberjn@outlook.com> | 2024-08-14 13:40:17 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-14 13:40:17 -0500 |
| commit | 3b7b2f2efc8be3077b919bef12669a85886840b5 (patch) | |
| tree | 1573d5cce0144047b5650e3ad6632cff5c2aeeb5 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface/ScriptedPlatformPythonInterface.h | |
| parent | 394162f356069ddccf1f941abf20959809644926 (diff) | |
[libcxx] Add fallback to standard C when `unistd` is unavailable (#102005)
Summary:
This utility function gets a temp file to use for tests. It either uses
WIN32 or POSIX to create it. Some targets only follow the C standard,
and this test case will fail. This patch simply adds a fallback that
uses the `tmpnam` function from standard C. This function isn't ideal,
but it is good enough for our use-case.
---------
Co-authored-by: Mark de Wever <zar-rpg@xs4all.nl>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface/ScriptedPlatformPythonInterface.h')
0 files changed, 0 insertions, 0 deletions
