From: Lawrence S. <ljs...@us...> - 2020-05-31 15:24:39
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via b3967a49ba45219759a9b28a884b9093a46927f4 (commit) from eb77357a703e07af08ba538f20b3d2fe8252c3f4 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit b3967a49ba45219759a9b28a884b9093a46927f4 Author: Lawrence Sebald <ljs...@us...> Date: Sun May 31 11:24:12 2020 -0400 Add __va_list definition to sys/_types.h. ----------------------------------------------------------------------- Summary of changes: include/sys/_types.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/sys/_types.h b/include/sys/_types.h index 82a3859..71d68ce 100644 --- a/include/sys/_types.h +++ b/include/sys/_types.h @@ -9,6 +9,9 @@ #ifndef _SYS__TYPES_H #define _SYS__TYPES_H +#include <kos/cdefs.h> +__BEGIN_DECLS + #include <sys/lock.h> // This part copied from newlib's sys/_types.h. @@ -201,4 +204,12 @@ typedef _CLOCK_T_ __clock_t; #endif #endif /* !__RESTRICT */ +#if __GNUC_MINOR__ > 95 || __GNUC__ >= 3 +typedef __builtin_va_list __va_list; +#else +typedef char * __va_list; +#endif + +__END_DECLS + #endif /* _SYS__TYPES_H */ hooks/post-receive -- A pseudo Operating System for the Dreamcast. |