Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix building with MinGW x64 #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

esaulenka
Copy link

It's a minor fix to compile tests on mingw compiler from MSys2.

For some reason actual mingw version doesn't include __WORDSIZE definition with your common includes #include <inttypes.h> #include <stddef.h>
But it's included somewhere in Arduino.cpp (haven't checked, is it stdio.h or time.h).
In that case BigNumberUtil.cpp compiled with BIGNUMBER_LIMB_32BIT, but all .ino tests compiled with BIGNUMBER_LIMB_64BIT.

Fixed code works well both with mingw and original linux gcc (I cannot check Mac version).

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.

1 participant