Remove _Static_assert verifying the size of CString because it breaks C99 builds with gcc-5

This commit is contained in:
Per Nordlöw 2022-12-28 00:31:14 +01:00
parent 78c3ea30a6
commit 9957c686a4

1
tcc.h
View File

@ -500,7 +500,6 @@ typedef struct CString {
int size_allocated;
void *data; /* either 'char *' or 'nwchar_t *' */
} CString;
_Static_assert(sizeof(CString) == 16, "CString should only require 16 bytes");
/* type definition */
typedef struct CType {