diff options
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 |