Open legends2k opened 1 year ago
share.h
_SH_DENYNO
NOMINMAX
bits/os_defines.h
<algorithm>
thread_local
__declspec(thread)
This also fixes #219.
Used thread_local within LOGURU_WINTHREADS macro since both MinGW and MSVC 2015 (7+ years old now) support it.
LOGURU_WINTHREADS
@emilk Please let me know if you've concerns around this.
share.h
for_SH_DENYNO
’s definitionNOMINMAX
only if not already defined; MINGW warns of redefinition sincebits/os_defines.h
included by<algorithm>
already defines itthread_local
instead of the non-standard option of__declspec(thread)
1