Skip to content

Commit 77af0b5

Browse files
skip .CRT$XCB
1 parent fa486a2 commit 77af0b5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/snmalloc/pal/pal_windows.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@
4141
* be destroyed when the program exits or the DLL is
4242
* unloaded.
4343
*/
44-
# pragma warning(disable : 4075)
45-
# pragma init_seg(".CRT$XCB")
44+
# ifndef __MINGW32__
45+
# pragma warning(disable : 4075)
46+
# pragma init_seg(".CRT$XCB")
47+
# endif
4648

4749
namespace snmalloc
4850
{

0 commit comments

Comments
 (0)