aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-07-05 14:51:01 +0000
committerNick Mathewson <nickm@torproject.org>2007-07-05 14:51:01 +0000
commitae4ab0f617bd6d9f544193f2fb7edfa1c7169056 (patch)
tree2784f80c6a82b2b54ef4c09a2ca39cd9147d8235 /src/common
parent04c9ae8164cff586c11a5097899c58bfc8f41c38 (diff)
downloadtor-ae4ab0f617bd6d9f544193f2fb7edfa1c7169056.tar
tor-ae4ab0f617bd6d9f544193f2fb7edfa1c7169056.tar.gz
r13454@kushana: nickm | 2007-06-20 14:22:44 -0400
Switch windows locking implementation to CRITICAL_SECTION, not Mutex: Mutex is heavier-weight, and meant for multi-process situations. svn:r10739
Diffstat (limited to 'src/common')
-rw-r--r--src/common/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index 121683fcd..e75c98a0c 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -131,7 +131,7 @@ extern INLINE double U64_TO_DBL(uint64_t x) {
#define STMT_END } else STMT_NIL
#else
#define STMT_BEGIN do {
-#define STMT_END } while(0)
+#define STMT_END } while (0)
#endif
#endif