mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-01 00:38:31 +00:00
Get GCC to mostly build with Cosmo
This commit is contained in:
parent
2eb7148474
commit
9b55dbe417
54 changed files with 113 additions and 132 deletions
4
third_party/puff/puff.c
vendored
4
third_party/puff/puff.c
vendored
|
@ -22,8 +22,8 @@
|
|||
│ │
|
||||
│ Mark Adler madler@alumni.caltech.edu │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "third_party/puff/puff.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
// clang-format off
|
||||
|
||||
asm(".ident\t\"\\n\\n\
|
||||
|
@ -158,7 +158,7 @@ struct state {
|
|||
* buffer, using shift right, and new bytes are appended to the top of the
|
||||
* bit buffer, using shift left.
|
||||
*/
|
||||
local noinstrument int bits(struct state *s, int need)
|
||||
local dontinstrument int bits(struct state *s, int need)
|
||||
{
|
||||
long val; /* bit accumulator (can use up to 20 bits) */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue