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 @@
#include <string>
#include <vector>
#include <array>
#include "Strings.h"
#include "EventStreamSocket.h"
#include "OutputStreamSocket.h"
......
......@@ -19,6 +19,7 @@
#include "message/Message.h"
#include "BadFormatException.h"
#include <regex>
#include <ostream>
using namespace std;
......
......@@ -26,7 +26,8 @@
// Using Visual Studio preprocessor.
// It must be improved in case of other compilers.
#ifdef _WIN32
#define GET_PROCESS_PID() GetCurrentProcessId()
#include <process.h>
#define GET_PROCESS_PID() _getpid()
#else
#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