From 1609c095604705e61959f9acf0f4383b904d0711 Mon Sep 17 00:00:00 2001 From: Jookia Date: Sun, 4 Oct 2020 23:15:33 +1100 Subject: [PATCH] ref-static-makefiles: Enable ne2000 and pcap on MinGW --- ref-static-makefiles/make_mgw/Makefile | 2 ++ ref-static-makefiles/make_mgw/config.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ref-static-makefiles/make_mgw/Makefile b/ref-static-makefiles/make_mgw/Makefile index 7bb89a6c1..002fbf9f3 100644 --- a/ref-static-makefiles/make_mgw/Makefile +++ b/ref-static-makefiles/make_mgw/Makefile @@ -12,6 +12,7 @@ MT32 = 1 CFLAGS = -O3 -DNDEBUG -Wstrict-overflow=0 -Wstrict-aliasing=0 -fomit-frame-pointer -mno-ms-bitfields -I. \ -I$(DBX_PATH) \ + -I$(DBX_PATH)/vs2015/pcap \ -I$(DBX_PATH)/include \ -I$(DBX_PATH)/src \ -I$(DBX_PATH)/src/aviwriter \ @@ -27,6 +28,7 @@ CFLAGS += $(shell sdl2-config --cflags) CXXFLAGS = -O3 -DNDEBUG -std=gnu++11 -Wstrict-overflow=0 -Wstrict-aliasing=0 -fomit-frame-pointer -mno-ms-bitfields -I. \ -I$(DBX_PATH) \ + -I$(DBX_PATH)/vs2015/pcap \ -I$(DBX_PATH)/include \ -I$(DBX_PATH)/src \ -I$(DBX_PATH)/src/aviwriter \ diff --git a/ref-static-makefiles/make_mgw/config.h b/ref-static-makefiles/make_mgw/config.h index f804ee879..7536c71e5 100644 --- a/ref-static-makefiles/make_mgw/config.h +++ b/ref-static-makefiles/make_mgw/config.h @@ -115,7 +115,7 @@ /* #undef C_MT32 */ /* Define to 1 to enable NE2000 ethernet passthrough, requires libpcap */ -/* #undef C_NE2000 */ +#define C_NE2000 1 /* Define to 1 to use opengl display output support */ /*#define C_OPENGL 1*/