mirror of https://git.tukaani.org/xz.git
mythread.h: Fix typo error in Vista threads mythread_once().
The "once_" variable was accidentally referred to as just "once". This prevented building with Vista threads when HAVE_FUNC_ATTRIBUTE_CONSTRUCTOR was not defined.
This commit is contained in:
parent
d93fbefcc4
commit
c0c0cd4a48
|
@ -378,7 +378,7 @@ typedef struct {
|
||||||
abort(); \
|
abort(); \
|
||||||
if (pending_) { \
|
if (pending_) { \
|
||||||
func(); \
|
func(); \
|
||||||
if (!InitOnceComplete(&once, 0, NULL)) \
|
if (!InitOnceComplete(&once_, 0, NULL)) \
|
||||||
abort(); \
|
abort(); \
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
Loading…
Reference in New Issue