LifeV
winprocess.h
Go to the documentation of this file.
1 #ifdef _MSC_VER
2 # define NOMINMAX
3 # include <Winsock2.h>
4 # include <process.h>
5 # define getpid _getpid
6 inline void sleep(int sec)
7 {
8  Sleep(sec * 1000);
9 }
10 #pragma comment(lib, "Ws2_32.lib")
11 #endif