diff options
author | Alex Zolotarev <alex@maps.me> | 2014-10-18 03:19:18 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:30:58 +0300 |
commit | 0adf799b3e752dc7e10b162a8b3c2ff728baf1d5 (patch) | |
tree | 83dace405b6257a51d8138a42d8d3b34af2f4213 /std | |
parent | 0ddcff0b07566260e1e00990f70555110fb5cfa7 (diff) |
Added std headers for condition and mutex
Diffstat (limited to 'std')
-rw-r--r-- | std/condition_variable.hpp | 14 | ||||
-rw-r--r-- | std/mutex.hpp | 14 |
2 files changed, 28 insertions, 0 deletions
diff --git a/std/condition_variable.hpp b/std/condition_variable.hpp new file mode 100644 index 0000000000..fee4a736a8 --- /dev/null +++ b/std/condition_variable.hpp @@ -0,0 +1,14 @@ +#pragma once +#include "common_defines.hpp" + +#ifdef new +#undef new +#endif + +#include <condition_variable> + +using std::condition_variable; + +#ifdef DEBUG_NEW +#define new DEBUG_NEW +#endif diff --git a/std/mutex.hpp b/std/mutex.hpp new file mode 100644 index 0000000000..161b168998 --- /dev/null +++ b/std/mutex.hpp @@ -0,0 +1,14 @@ +#pragma once +#include "common_defines.hpp" + +#ifdef new +#undef new +#endif + +#include <mutex> + +using std::mutex; + +#ifdef DEBUG_NEW +#define new DEBUG_NEW +#endif |