Skip to content
Snippets Groups Projects
Commit ccf92fa7 authored by Bertrand Bellenot's avatar Bertrand Bellenot
Browse files

Fix compilation error on Windows (sleep is _sleep)

parent 0805f190
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,9 @@ ...@@ -29,6 +29,9 @@
#include <vector> #include <vector>
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>
#ifdef _MSC_VER
#define sleep(s) _sleep(s)
#endif
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment