diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-05-06 02:26:14 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-05-06 02:26:14 +0200 |
commit | 07c8f29cbeb18fcd68b765afac3d1d9cbaa91f67 (patch) | |
tree | 7a5c6f3d564bda26311d969b9e32822b8e7b8f58 /src/mutex.h | |
parent | 2aef4762dfadeac32d549a6cf95bae96247b4a27 (diff) |
Remove mingw32 missing-mutex hack.
Diffstat (limited to 'src/mutex.h')
-rw-r--r-- | src/mutex.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/mutex.h b/src/mutex.h index 067a4db..eafebba 100644 --- a/src/mutex.h +++ b/src/mutex.h @@ -31,7 +31,8 @@ struct mutex_private_t; -class Mutex { +class Mutex +{ public: Mutex(); ~Mutex(); @@ -44,14 +45,8 @@ private: struct mutex_private_t* prv; }; -#if DG_PLATFORM == DG_PLATFORM_WINDOWS -// Hack: mingw doesn't have std::mutex -namespace std { - class mutex : public Mutex {}; -} -#endif - -class MutexAutolock { +class MutexAutolock +{ public: MutexAutolock(Mutex &mutex); ~MutexAutolock(); |