summaryrefslogtreecommitdiffstats
path: root/tmk_core/common/progmem.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/common/progmem.h')
-rw-r--r--tmk_core/common/progmem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmk_core/common/progmem.h b/tmk_core/common/progmem.h
index 4e4771e523..a70d8e299f 100644
--- a/tmk_core/common/progmem.h
+++ b/tmk_core/common/progmem.h
@@ -3,7 +3,9 @@
#if defined(__AVR__)
# include <avr/pgmspace.h>
#else
+# include <string.h>
# define PROGMEM
+# define __flash
# define PSTR(x) x
# define PGM_P const char*
# define memcpy_P(dest, src, n) memcpy(dest, src, n)