aboutsummaryrefslogtreecommitdiffstats
path: root/erts/lib_src/common/ethr_mutex.c
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2014-02-21 11:30:41 +0100
committerLukas Larsson <[email protected]>2014-02-24 15:16:09 +0100
commit494d9125a92658d852e22c429ca61687e0709c09 (patch)
tree415974e8a1fa10b46bac3c5f740fef0edd073079 /erts/lib_src/common/ethr_mutex.c
parentf4a93aded400f55f76706030bebcabbc68a7168a (diff)
downloadotp-494d9125a92658d852e22c429ca61687e0709c09.tar.gz
otp-494d9125a92658d852e22c429ca61687e0709c09.tar.bz2
otp-494d9125a92658d852e22c429ca61687e0709c09.zip
ose: Cleanup cleanup of mutex selection defines
Diffstat (limited to 'erts/lib_src/common/ethr_mutex.c')
-rw-r--r--erts/lib_src/common/ethr_mutex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/lib_src/common/ethr_mutex.c b/erts/lib_src/common/ethr_mutex.c
index 47f2f884af..72b44033ad 100644
--- a/erts/lib_src/common/ethr_mutex.c
+++ b/erts/lib_src/common/ethr_mutex.c
@@ -1428,8 +1428,6 @@ void LeaveCriticalSection(CRITICAL_SECTION *cs)
ETHR_FATAL_ERROR__(res);
}
-#else
-#error "No mutex implementation found"
#endif
#define ETHR_CND_WAIT__ ((ethr_sint32_t) 0x11dead11)
@@ -1754,6 +1752,8 @@ ethr_cond_destroy(ethr_cond *cnd)
return 0;
}
+#else
+#error "No mutex implementation found"
#endif
/* -- Exported symbols of inline functions --------------------------------- */