Fix close(1) bug on Windows

This commit is contained in:
Justine Tunney 2023-07-28 03:56:56 -07:00
parent 83341a4269
commit b0e3258709
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
6 changed files with 51 additions and 7 deletions

View file

@ -247,7 +247,7 @@ o/$(MODE)/%-clang.asm: %.c
@$(COMPILE) -AOBJECTIFY.c $(OBJECTIFY.c) -S -g0 $(OUTPUT_OPTION) $<
# TODO(jart): Make intrinsics support Clang.
# o/$(MODE)/%-clang.asm: CC = $(CLANG)
o/$(MODE)/%-clang.asm: CC = $(CLANG)
o/$(MODE)/%-clang.asm: private .UNSANDBOXED = 1
o/$(MODE)/%-clang.asm: %.cc
@$(COMPILE) -AOBJECTIFY.c $(OBJECTIFY.cxx) -S -g0 $(OUTPUT_OPTION) $<