bugfix: forgot to insert parentheses
This commit is contained in:
@@ -34,7 +34,7 @@ include $(sort $(wildcard contrib/*/nitro.mk))
|
||||
bootstrap: bin/picrin-bootstrap
|
||||
|
||||
bin/picrin-bootstrap:
|
||||
test -f bin/picrin-bootstrap || { $(MAKE) lib/mini-picrin && mv lib/mini-picrin bin/picrin-bootstrap; }
|
||||
test -f bin/picrin-bootstrap || { $(MAKE) -C lib lib/mini-picrin && mv lib/mini-picrin bin/picrin-bootstrap; }
|
||||
|
||||
lib/mini-picrin: FORCE
|
||||
$(MAKE) -C lib mini-picrin
|
||||
|
||||
@@ -55,7 +55,7 @@ struct heap {
|
||||
struct weak *weaks; /* weak map chain */
|
||||
};
|
||||
|
||||
#define unitsof(type) (type2size(type) + sizeof(union header) - 1 / sizeof(union header))
|
||||
#define unitsof(type) ((type2size(type) + sizeof(union header) - 1) / sizeof(union header))
|
||||
|
||||
struct heap *
|
||||
pic_heap_open(pic_state *pic)
|
||||
|
||||
Reference in New Issue
Block a user