We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7c50f7 commit ce6d4e6Copy full SHA for ce6d4e6
tests/host/common/mock.h
@@ -57,17 +57,20 @@
57
58
#include <stddef.h>
59
60
+#ifndef HAVE_NONISO
61
+#include <stdlib_noniso.h>
62
+#endif
63
+
64
#ifdef __cplusplus
65
extern "C"
66
{
67
#endif
- // TODO: #include <stdlib_noniso.h> ?
- char* itoa(int val, char* s, int radix);
- char* ltoa(long val, char* s, int radix);
-
68
+#ifndef HAVE_STRLCAT
69
size_t strlcat(char* dst, const char* src, size_t size);
70
71
+#ifndef HAVE_STRLCPY
72
size_t strlcpy(char* dst, const char* src, size_t size);
73
74
75
}
76
0 commit comments