From c5f05de082af507adf48a4619a1986bc2add4343 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Thu, 2 Mar 2023 22:15:20 -0800 Subject: [PATCH] set up windows build --- src/IPStackSimulator.cc | 6 ------ src/Main.cc | 2 ++ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/IPStackSimulator.cc b/src/IPStackSimulator.cc index b0bc5abb..c6d62400 100644 --- a/src/IPStackSimulator.cc +++ b/src/IPStackSimulator.cc @@ -6,13 +6,7 @@ #include #include #include - -#ifndef PHOSG_WINDOWS #include -#else -#include -#include -#endif #include #include diff --git a/src/Main.cc b/src/Main.cc index d38d19e7..589a1820 100644 --- a/src/Main.cc +++ b/src/Main.cc @@ -1086,6 +1086,7 @@ int main(int argc, char** argv) { } } +#ifndef PHOSG_WINDOWS if (!state->ip_stack_addresses.empty()) { config_log.info("Starting IP stack simulator"); ip_stack_simulator.reset(new IPStackSimulator(base, state)); @@ -1094,6 +1095,7 @@ int main(int argc, char** argv) { ip_stack_simulator->listen(netloc.first, netloc.second); } } +#endif } else { throw logic_error("invalid behavior");