diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-07-05 14:51:01 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-07-05 14:51:01 +0000 |
commit | ae4ab0f617bd6d9f544193f2fb7edfa1c7169056 (patch) | |
tree | 2784f80c6a82b2b54ef4c09a2ca39cd9147d8235 /src/common | |
parent | 04c9ae8164cff586c11a5097899c58bfc8f41c38 (diff) | |
download | tor-ae4ab0f617bd6d9f544193f2fb7edfa1c7169056.tar.gz tor-ae4ab0f617bd6d9f544193f2fb7edfa1c7169056.zip |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.h b/src/common/compat.h index 121683fcdb..e75c98a0c2 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 |