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

Detect 'isascii' at configuration stage #8158

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

Conversation

redbaron
Copy link

@redbaron redbaron commented Nov 7, 2024

Description

Detect 'isascii' at configuration stage

Previously platforms without isascii had to manually
indicate it's absence with NO_STDLIB_ISASCII define.

It is trivial to detect function availability, so do that.

Testing

Built on platform with no isascii available

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

Previously platforms without isascii had to manually
indicate it's absence with `NO_STDLIB_ISASCII` define.

It is trivial to detect function availability, so do that.
@wolfSSL-Bot
Copy link

Can one of the admins verify this patch?

@@ -2504,7 +2504,6 @@ extern void uITRON4_free(void *p) ;
#define WOLFSSL_DH_CONST
#define WOLFSSL_HAVE_MAX
#define NO_WRITEV
#define NO_STDLIB_ISASCII
Copy link
Author

Choose a reason for hiding this comment

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

It just occurred to me, that HAVE_ISASCII is stored in config.h which is optional. Maybe this define should stay as is?

@embhorn
Copy link
Member

embhorn commented Nov 12, 2024

@redbaron is approved as a wolfSSL contributor

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.

4 participants