Commit cdc2a348 authored by yannick legoc's avatar yannick legoc
Browse files

(split) Some minor changes for Visual Studio 19

parent 7188c0d4
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <array>
#include "Strings.h" #include "Strings.h"
#include "EventStreamSocket.h" #include "EventStreamSocket.h"
#include "OutputStreamSocket.h" #include "OutputStreamSocket.h"
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include "message/Message.h" #include "message/Message.h"
#include "BadFormatException.h" #include "BadFormatException.h"
#include <regex> #include <regex>
#include <ostream>
using namespace std; using namespace std;
......
...@@ -26,7 +26,8 @@ ...@@ -26,7 +26,8 @@
// Using Visual Studio preprocessor. // Using Visual Studio preprocessor.
// It must be improved in case of other compilers. // It must be improved in case of other compilers.
#ifdef _WIN32 #ifdef _WIN32
#define GET_PROCESS_PID() GetCurrentProcessId() #include <process.h>
#define GET_PROCESS_PID() _getpid()
#else #else
#include <unistd.h> #include <unistd.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment