gcc on FreeBSD can produce bogus code for isspace

This commit is contained in:
Frank Denis
2026-04-05 21:26:41 +02:00
parent 7fd99d8800
commit 6b726ca29c
+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,