summaryrefslogtreecommitdiff
path: root/firmware/include
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/string-extra.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/firmware/include/string-extra.h b/firmware/include/string-extra.h
index bae250d7c9..6a9e0c77be 100644
--- a/firmware/include/string-extra.h
+++ b/firmware/include/string-extra.h
@@ -18,8 +18,8 @@
18 * KIND, either express or implied. 18 * KIND, either express or implied.
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21 21#ifndef STRING_EXTRA_H
22 22#define STRING_EXTRA_H
23#include <string.h> 23#include <string.h>
24#include "strlcpy.h" 24#include "strlcpy.h"
25#include "strlcat.h" 25#include "strlcat.h"
@@ -27,3 +27,11 @@
27#include "strcasestr.h" 27#include "strcasestr.h"
28#include "strtok_r.h" 28#include "strtok_r.h"
29#include "memset16.h" 29#include "memset16.h"
30
31#if defined(WIN32) || defined(APPLICATION)
32#ifndef mempcpy
33#define mempcpy __builtin_mempcpy
34#endif
35#endif
36
37#endif /* STRING_EXTRA_H */