build: On macOS do not build functions provided by the system

We have never built before on macOS, so we can exclude all the functions
that are currently provided in the system.

Closes: #1
Closes: !3
This commit is contained in:
Guillem Jover
2023-04-04 23:59:05 +02:00
parent bc65806ce2
commit 21d12b0211
11 changed files with 177 additions and 36 deletions

View File

@@ -44,8 +44,10 @@
__BEGIN_DECLS
int
uid_from_user(const char *, uid_t *);
#ifndef __APPLE__
const char *
user_from_uid(uid_t, int);
#endif
__END_DECLS
#endif