Skip to content

Fix for cross compiling for android#291

Open
talregev wants to merge 1 commit intoalgebraic-solving:masterfrom
talregev:TalR/fix_android
Open

Fix for cross compiling for android#291
talregev wants to merge 1 commit intoalgebraic-solving:masterfrom
talregev:TalR/fix_android

Conversation

@talregev
Copy link

Fix for cross compiling for android

AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([floor getdelim gettimeofday memmove memset pow sqrt strchr strstr strtol])
AC_CHECK_FUNCS([floor getdelim gettimeofday memmove memset malloc realloc pow sqrt strchr strstr strtol])
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this changes the meanging of the result macros. The change is valid if msolve only depends on the availability of the functions, not on being "compatible with the GNU C library" malloc/realloc at runtime.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have a better solution?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

msolve depends heavily on malloc/realloc, so this should not be a problem.

@talregev talregev requested a review from dg0yt March 12, 2026 16:03
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