From 1e83f5042718996eeaccf92dc334b1573876ac58 Mon Sep 17 00:00:00 2001 From: Florian Frank Date: Fri, 3 Jun 2022 10:47:15 +0200 Subject: [PATCH] Disable non-blocking sockets on Windows. Will later be added to the library. --- include/CommandLineInterfaceDefines.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/CommandLineInterfaceDefines.h b/include/CommandLineInterfaceDefines.h index f6d63ab8..6a83d33c 100644 --- a/include/CommandLineInterfaceDefines.h +++ b/include/CommandLineInterfaceDefines.h @@ -17,7 +17,11 @@ /** Defines the indentation for the help message */ #define HELP_MESSAGE_INDENTATION 10 +#ifdef __WIN32__ +#define TIMEOUT_IN_MS 0 // TODO timeout not supported yet on windows +#else #define TIMEOUT_IN_MS 2000 +#endif enum CLI_Commands {