Skip to content

__cpuidex: explicit MSVC check, fix MinGW GCC 5.3 cross-compilation#192

Merged
hyc merged 1 commit intotevador:masterfrom
xiphon:fix-mingw-5.3-cross-compilation
Nov 6, 2021
Merged

__cpuidex: explicit MSVC check, fix MinGW GCC 5.3 cross-compilation#192
hyc merged 1 commit intotevador:masterfrom
xiphon:fix-mingw-5.3-cross-compilation

Conversation

@xiphon
Copy link
Contributor

@xiphon xiphon commented Sep 7, 2020

MinGW GCC 5.3 defines _WIN32 when cross-compiling to Windows from Linux,

BTW, __cpuidex intrinsic has been added to GCC a few weeks ago (most probably will be in GCC 11 release). Thus the ifdef would need a tweak in foreseeable future.

@hyc hyc merged commit 59c981c into tevador:master Nov 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants