diff options
Diffstat (limited to 'jffsX-utils/mkfs.jffs2.c')
-rw-r--r-- | jffsX-utils/mkfs.jffs2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/jffsX-utils/mkfs.jffs2.c b/jffsX-utils/mkfs.jffs2.c index f09c0b2..b83c1ee 100644 --- a/jffsX-utils/mkfs.jffs2.c +++ b/jffsX-utils/mkfs.jffs2.c @@ -376,7 +376,11 @@ static struct filesystem_entry *recursive_add_host_directory( */ #ifdef __GNUC__ +#if __STDC_VERSION__ >= 199901L +#define SCANF_PREFIX "m" +#else #define SCANF_PREFIX "a" +#endif #define SCANF_STRING(s) (&s) #define GETCWD_SIZE 0 #else |