Commit c55506d
committed
Bug#18054042: MY_ATOMIC_* FUNCTIONS ALWAYS USE RW-LOCKS ON WINDOWS
Due to a typo (#ifdef _MSV_VER rather than #ifdef _MSC_VER),
we always used our rw-lock backup implementation for my_atomic_*
functions rather than the native Windows implementation.
This patch fixes the typo so that we again use proper atomics
on Windows.1 parent 9884c7e commit c55506d
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments