summaryrefslogtreecommitdiffstats
path: root/firmware/include/string-extra.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/string-extra.h')
-rw-r--r--firmware/include/string-extra.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/include/string-extra.h b/firmware/include/string-extra.h
index 9ab53d8154..549a018dfc 100644
--- a/firmware/include/string-extra.h
+++ b/firmware/include/string-extra.h
@@ -28,7 +28,8 @@
#include "strtok_r.h"
#include "memset16.h"
-#if defined(WIN32) || defined(APPLICATION)
+#if defined(WIN32) || defined(APPLICATION) \
+ || defined(__PCTOOL__)
#ifndef mempcpy
#define mempcpy __builtin_mempcpy
#endif