Skip to content

Commit 9d0a0ad

Browse files
authored
Merge pull request #158 from Michael0066/master
fixed: compile err
2 parents 8753a42 + a7cff69 commit 9d0a0ad

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

SConscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ path += [cwd + '/port/modules/machine']
2525
LOCAL_CCFLAGS = ''
2626

2727
if rtconfig.CROSS_TOOL == 'gcc':
28-
LOCAL_CCFLAGS += ' -std=c99'
28+
LOCAL_CCFLAGS += ' -std=gnu99'
2929
elif rtconfig.CROSS_TOOL == 'keil':
3030
LOCAL_CCFLAGS += ' --c99 --gnu'
3131

port/mpgetcharport.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
*/
2626

2727
#include <stdio.h>
28+
#include <stdint.h>
2829
#include <rtthread.h>
2930
#include <rtdevice.h>
3031
#include <rthw.h>

0 commit comments

Comments
 (0)