8000 unix/mpconfigport.h: Include stdio.h by default. · sparkfun/circuitpython@243f898 · GitHub
[go: up one dir, main page]

Skip to content < 8000 link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react.47f1598729334a521d2a.module.css" />

Commit 243f898

Browse files
committed
unix/mpconfigport.h: Include stdio.h by default.
This allows to use printf() in a any source file with unix port, for quick debugging.
1 parent d1771bb commit 243f898

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

unix/mpconfigport.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,3 +301,6 @@ void mp_unix_mark_exec(void);
301301
#ifndef _DIRENT_HAVE_D_INO
302302
#define _DIRENT_HAVE_D_INO (1)
303303
#endif
304+
305+
// For debugging purposes, make printf() available to any source file.
306+
#include <stdio.h>

0 commit comments

Comments
 (0)
0