Skip to content

Commit

Permalink
popen diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
adamyg committed Mar 14, 2024
1 parent 9e5d5c9 commit e58c918
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mcwin32/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ extern void WIN32_Setup(void);

extern FILE * win32_popen(const char *cmd, const char *mode);
extern int win32_pclose(FILE *file);
extern void win32_ptrace(void);
extern int win32_perror(int error, const char *msg);

#ifndef popen
#define popen(__cmd,__mode) win32_popen(__cmd, __mode)
Expand Down

0 comments on commit e58c918

Please sign in to comment.