File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ static FILE *OPENTMPFILE() { return tmpfile(); }
2828static void CLOSETMPFILE (FILE * fp ) { fclose (fp ); }
2929#else
3030#include <Windows.h>
31+ #include <io.h>
3132
3233static void FLOCK (FILE * fp ) { }
3334static void FUNLOCK (FILE * fp ) { }
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ foreach(SIMD ${SLEEF_HEADER_LIST})
2222 list (APPEND SLEEF_HEADER_COMMANDS COMMAND $<TARGET_FILE :${TARGET_MKRENAME} > ${HEADER_PARAMS_${SIMD} } >> ${SLEEF_INCLUDE_HEADER} )
2323endforeach ()
2424
25- if (MSVC )
25+ if (MSVC OR MINGW AND WIN32 )
2626 string (REPLACE "/" "\\ " sleef_footer_input_file "${SLEEF_ORG_FOOTER} " )
2727 list (APPEND SLEEF_HEADER_COMMANDS COMMAND type ${sleef_footer_input_file} >> ${SLEEF_INCLUDE_HEADER} )
2828else ()
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ foreach(SIMD ${SLEEFQUAD_SUPPORTED_EXT})
6060 endif ()
6161endforeach ()
6262
63- if (MSVC )
63+ if (MSVC OR MINGW AND WIN32 )
6464 string (REPLACE "/" "\\ " sleef_footer_input_file "${SLEEFQUAD_ORG_FOOTER} " )
6565 list (APPEND SLEEF_HEADER_COMMANDS COMMAND type ${sleef_footer_input_file} >> ${SLEEFQUAD_INCLUDE_HEADER} )
6666else ()
You can’t perform that action at this time.
0 commit comments