Meson: Advertise HAVE_OUTB
Rename __FLASHPROG_HAVE_OUTB__ to the more canonical HAVE_OUTB
and make sure Meson sets it on x86.
Change-Id: I67106292ea19ff49d9afe7d23b29e75c8e1ae0fc
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/495
diff --git a/Makefile b/Makefile
index 9c0a336..088606c 100644
--- a/Makefile
+++ b/Makefile
@@ -844,7 +844,7 @@
USE_X86_PORT_IO := $(if $(call filter_deps,$(DEPENDS_ON_X86_PORT_IO)),yes,no)
ifeq ($(USE_X86_PORT_IO), yes)
-FEATURE_FLAGS += -D'__FLASHPROG_HAVE_OUTB__=1'
+FEATURE_FLAGS += -D'HAVE_OUTB=1'
PROGRAMMER_OBJS += hwaccess_x86_io.o
endif