libroot: Expose exect() only if building with BeOS ABI compatibility.

It's non-standard and redundant, but was in the public R5 headers,
so we need to keep it around at least for compatibility.
This commit is contained in:
Augustin Cavalier
2026-01-29 15:04:23 -05:00
parent 4310e8e1c8
commit 6fc8d99e21
+2 -1
View File
@@ -240,7 +240,7 @@ execle(const char* path, const char* arg, ... /*, char** env */)
return do_exec(path, (char* const*)args, env, false);
}
// TODO: remove this again if possible
#ifdef __HAIKU_BEOS_COMPATIBLE
extern int exect(const char *path, char *const *argv);
int
@@ -248,3 +248,4 @@ exect(const char* path, char* const* argv)
{
return execv(path, argv);
}
#endif