From 0adf799b3e752dc7e10b162a8b3c2ff728baf1d5 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Fri, 17 Oct 2014 16:19:18 -0700 Subject: Added std headers for condition and mutex --- std/condition_variable.hpp | 14 ++++++++++++++ std/mutex.hpp | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 std/condition_variable.hpp create mode 100644 std/mutex.hpp (limited to 'std') 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 + +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 + +using std::mutex; + +#ifdef DEBUG_NEW +#define new DEBUG_NEW +#endif -- cgit v1.2.3