internal/build:compile with c mode,when c file

This commit is contained in:
luoliwoshang
2025-06-12 11:52:41 +08:00
parent 9001cdb8f2
commit 93197e7621
20 changed files with 20 additions and 50 deletions

View File

@@ -0,0 +1,14 @@
#include <stdlib.h>
#include <errno.h>
int cliteClearenv()
{
extern char **environ;
if (environ != NULL)
{
*environ = NULL;
}
return 0;
}
int cliteErrno() { return errno; }