Changes made for cosmocc builds (#908)

This commit is contained in:
Gautham 2023-10-09 16:39:02 -05:00 committed by GitHub
parent 3b4dbc9fdd
commit 211d5d902e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 17 additions and 1 deletions

View file

@ -138,9 +138,14 @@ typedef signed __int128 int128_t;
typedef unsigned __int128 uint128_t;
#endif
#endif /* _COSMO_SOURCE */
#ifndef __AXDX_T
#define __AXDX_T
typedef struct {
intptr_t ax, dx;
} axdx_t;
#endif
#ifndef __chibicc__
#define va_list __builtin_va_list