gcc on FreeBSD can produce bogus code for isspace

This commit is contained in:
Frank Denis
2026-04-04 22:24:16 +02:00
parent d44576d85a
commit 97a6e1d2d8
+5
View File
@@ -11,6 +11,11 @@
#include "private/common.h"
#include "utils.h"
#ifdef __FreeBSD__
/* gcc on FreeBSD can generate a bogus isspace implementation */
# undef isspace
#endif
/* Derived from original code by CodesInChaos */
char *
sodium_bin2hex(char *const hex, const size_t hex_maxlen,