From 53a40546bbd5002fbafcac4fa559bc215584c90a Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Thu, 9 Apr 2026 09:58:06 -0300 Subject: [PATCH] remove deprecated macro --- tutorials/udp/mdns-client/Makefile | 2 +- tutorials/udp/mdns-sd-server/Makefile | 2 +- tutorials/udp/mdns-server/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tutorials/udp/mdns-client/Makefile b/tutorials/udp/mdns-client/Makefile index 8b63f3c8..b231dd04 100644 --- a/tutorials/udp/mdns-client/Makefile +++ b/tutorials/udp/mdns-client/Makefile @@ -5,7 +5,7 @@ SOURCES = main.c mongoose.c # Source code files CFLAGS = -W -Wall -Wextra -g -I. # Build options # Mongoose build options. See https://mongoose.ws/documentation/#build-options -CFLAGS_MONGOOSE += -DMG_ENABLE_MDNS=1 -DMG_ENABLE_LINES +CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe PROG ?= example.exe # Use .exe suffix for the binary diff --git a/tutorials/udp/mdns-sd-server/Makefile b/tutorials/udp/mdns-sd-server/Makefile index 8b63f3c8..b231dd04 100644 --- a/tutorials/udp/mdns-sd-server/Makefile +++ b/tutorials/udp/mdns-sd-server/Makefile @@ -5,7 +5,7 @@ SOURCES = main.c mongoose.c # Source code files CFLAGS = -W -Wall -Wextra -g -I. # Build options # Mongoose build options. See https://mongoose.ws/documentation/#build-options -CFLAGS_MONGOOSE += -DMG_ENABLE_MDNS=1 -DMG_ENABLE_LINES +CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe PROG ?= example.exe # Use .exe suffix for the binary diff --git a/tutorials/udp/mdns-server/Makefile b/tutorials/udp/mdns-server/Makefile index 8b63f3c8..b231dd04 100644 --- a/tutorials/udp/mdns-server/Makefile +++ b/tutorials/udp/mdns-server/Makefile @@ -5,7 +5,7 @@ SOURCES = main.c mongoose.c # Source code files CFLAGS = -W -Wall -Wextra -g -I. # Build options # Mongoose build options. See https://mongoose.ws/documentation/#build-options -CFLAGS_MONGOOSE += -DMG_ENABLE_MDNS=1 -DMG_ENABLE_LINES +CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe PROG ?= example.exe # Use .exe suffix for the binary