summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/string.h b/src/include/string.h
index 5b2486ae3c..f2777a9e49 100644
--- a/src/include/string.h
+++ b/src/include/string.h
@@ -15,7 +15,7 @@ void *memmove(void *dest, const void *src, size_t n);
void *memset(void *s, int c, size_t n);
int memcmp(const void *s1, const void *s2, size_t n);
void *memchr(const void *s, int c, size_t n);
-#if !defined(__PRE_RAM__)
+#if !defined(__ROMCC__)
int snprintf(char * buf, size_t size, const char *fmt, ...);
#endif