summaryrefslogtreecommitdiff
path: root/src/port/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/string.c')
-rw-r--r--src/port/string.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/port/string.c b/src/port/string.c
index e05dfbd..da0dfce 100644
--- a/src/port/string.c
+++ b/src/port/string.c
@@ -47,6 +47,9 @@ char *wolf_port_strdup( const char *s ) {
#include <sys/types.h> /* for size_t */
#include <errno.h> /* for errno */
+/* FIXME: this version is NOT thread and signal safe! But we have to port
+ * mutexes first
+ */
int wolf_port_strerror_r( int num, char *buf, size_t buflen ) {
int safe_errno = errno;
const char *msg;