2
0
mirror of https://github.com/boostorg/process.git synced 2026-01-19 04:22:15 +00:00

disabled shell for android

Closes #440.
This commit is contained in:
Klemens Morgenstern
2024-12-20 10:09:07 +08:00
parent 2275057574
commit b5eacaca51

View File

@@ -19,7 +19,7 @@
#if defined(BOOST_PROCESS_V2_WINDOWS)
#include <windows.h>
#include <shellapi.h>
#elif !defined(__OpenBSD__)
#elif !defined(__OpenBSD__) && !defined(__ANDROID__)
#include <wordexp.h>
#endif
@@ -30,7 +30,7 @@ BOOST_PROCESS_V2_DECL const error_category& get_shell_category()
{
return system_category();
}
#elif !defined(__OpenBSD__)
#elif !defined(__OpenBSD__) && !defined(__ANDROID__)
struct shell_category_t final : public error_category
{
@@ -99,7 +99,7 @@ auto shell::args() const-> args_type
return input_.c_str();
}
#elif !defined(__OpenBSD__)
#elif !defined(__OpenBSD__) && !defined(__ANDROID__)
void shell::parse_()
{