Skip to content

Commit f073136

Browse files
authored
Merge pull request #516 from fquinner/patch-2
Enable HAS_SET_DIRECTION_ENABLED for regular build
2 parents 1bd1927 + 83b206e commit f073136

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Pcap++/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ ifdef HAS_PCAP_IMMEDIATE_MODE
7171
DEPS += -DHAS_PCAP_IMMEDIATE_MODE
7272
endif
7373

74+
ifdef HAS_SET_DIRECTION_ENABLED
75+
PCAPPP_BUILD_FLAGS += -DHAS_SET_DIRECTION_ENABLED
76+
endif
77+
7478
ifdef USE_DPDK
7579
PCAPPP_BUILD_FLAGS += -msse -msse2 -msse3 -mssse3
7680
endif

0 commit comments

Comments
 (0)