Remove -DSIGPIPE=0 for Windows

This commit is contained in:
cpq 2023-05-23 03:50:53 +01:00
parent bad05485d0
commit a8309ef705

View File

@ -15,7 +15,6 @@ ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To us
CFLAGS += -lws2_32 # Link against Winsock library CFLAGS += -lws2_32 # Link against Winsock library
DELETE = cmd /C del /Q /F /S # Command prompt command to delete files DELETE = cmd /C del /Q /F /S # Command prompt command to delete files
OUT ?= -o $(PROG) # Build output OUT ?= -o $(PROG) # Build output
CFLAGS += -DSIGPIPE=0 # No SIGPIPE on Windows
endif endif
all: $(PROG) # Default target. Build and run program all: $(PROG) # Default target. Build and run program