8000 unix/mpconfigport.h: Don't include stdio.h on MacOS. · sparkfun/circuitpython@4e36dd5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4e36dd5

Browse files
ilovezfspfalcon
authored andcommitted
unix/mpconfigport.h: Don't include stdio.h on MacOS.
Fixes build errors such as "../lib/utils/printf.c:43:5: error: expected parameter declarator"
1 parent 5e01fb0 commit 4e36dd5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

unix/mpconfigport.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,5 +305,7 @@ void mp_unix_mark_exec(void);
305305
#define _DIRENT_HAVE_D_INO (1)
306306
#endif
307307

308+
#ifndef __APPLE__
308309
// For debugging purposes, make printf() available to any source file.
309310
#include <stdio.h>
311+
#endif

0 commit comments

Comments
 (0)
0