| ... | ... | @@ -9,7 +9,7 @@ export var __xl_a: windows.PIMAGE_TLS_CALLBACK linksection(".CRT$XLA") = null; |
| 9 | 9 | export var __xl_z: windows.PIMAGE_TLS_CALLBACK linksection(".CRT$XLZ") = null; |
| 10 | 10 | |
| 11 | 11 | comptime { |
| 12 | | if (builtin.target.cpu.arch == .x86 and builtin.zig_backend != .stage2_c) { |
| 12 | if (builtin.cpu.arch == .x86 and builtin.abi == .msvc and builtin.zig_backend != .stage2_c) { |
| 13 | 13 | // The __tls_array is the offset of the ThreadLocalStoragePointer field |
| 14 | 14 | // in the TEB block whose base address held in the %fs segment. |
| 15 | 15 | asm ( |