Skip to content

Commit b571fc0

Browse files
Copilotavikivity
andcommitted
Fix incorrect endif comment and restore SEASTAR_MODULE definition
- Fixed #endif comment in reactor.cc (should be SEASTAR_HAVE_DPDK not SEASTAR_MODULE) - Restored SEASTAR_MODULE compile definition which is still needed for SEASTAR_MODULE_EXPORT macros in headers Co-authored-by: avikivity <[email protected]>
1 parent b56e5f3 commit b571fc0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ target_compile_definitions (seastar-module
9898
SEASTAR_API_LEVEL=${Seastar_API_LEVEL}
9999
SEASTAR_SCHEDULING_GROUPS_COUNT=${Seastar_SCHEDULING_GROUPS_COUNT}
100100
PRIVATE
101+
SEASTAR_MODULE
101102
${Seastar_PRIVATE_COMPILE_DEFINITIONS})
102103
target_compile_options (seastar-module
103104
PUBLIC

src/core/reactor.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
#include "cgroup.hh"
172172
#ifdef SEASTAR_HAVE_DPDK
173173
#include <seastar/core/dpdk_rte.hh>
174-
#endif // SEASTAR_MODULE
174+
#endif // SEASTAR_HAVE_DPDK
175175
#include <seastar/util/assert.hh>
176176
#include <seastar/core/internal/systemwide_memory_barrier.hh>
177177

0 commit comments

Comments
 (0)