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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy