mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 11:36:32 +01:00
Add patches to tcc-0.9.26 for pnut compatiblity
This commit is contained in:
parent
2057d551e0
commit
8e3e9c16e9
8 changed files with 18 additions and 0 deletions
5
steps/tcc-0.9.26/simple-patches/array_sizeof.after
Normal file
5
steps/tcc-0.9.26/simple-patches/array_sizeof.after
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#ifdef PNUT_CC
|
||||
char buf1[1024];
|
||||
#else
|
||||
char buf1[sizeof file->filename];
|
||||
#endif
|
||||
1
steps/tcc-0.9.26/simple-patches/array_sizeof.before
Normal file
1
steps/tcc-0.9.26/simple-patches/array_sizeof.before
Normal file
|
|
@ -0,0 +1 @@
|
|||
char buf1[sizeof file->filename];
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
#ifdef PNUT_CC
|
||||
s1->error_set_jmp_enabled = 0;
|
||||
#endif
|
||||
|
|
@ -0,0 +1 @@
|
|||
s1->error_set_jmp_enabled = 1;
|
||||
5
steps/tcc-0.9.26/simple-patches/sscanf_TCC_VERSION.after
Normal file
5
steps/tcc-0.9.26/simple-patches/sscanf_TCC_VERSION.after
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#ifdef PNUT_CC
|
||||
a = 0; b = 9; c = 26;
|
||||
#else
|
||||
sscanf(TCC_VERSION, "%d.%d.%d", &a, &b, &c);
|
||||
#endif
|
||||
|
|
@ -0,0 +1 @@
|
|||
sscanf(TCC_VERSION, "%d.%d.%d", &a, &b, &c);
|
||||
|
|
@ -0,0 +1 @@
|
|||
#if defined _WIN32 == defined TCC_TARGET_PE && !defined PNUT_CC
|
||||
|
|
@ -0,0 +1 @@
|
|||
#if defined _WIN32 == defined TCC_TARGET_PE
|
||||
Loading…
Add table
Add a link
Reference in a new issue