(posix_fileno) [_WIN32]: Rename posix_fileno() to fileno().
Remove the extern posix_fileno(). (fileno) [_WIN32]: Replace system fileno() with a function that supports posix file descriptors. Move #undef fileno to w32misc.h as the system define is in stdio.h. (rea) [_WIN32]: Add stdio.h for fileno() extern declaration and add misc.h to ensure the WIN32 fixes to stdio.h are included.
This commit is contained in:
parent
d5a1b3c6cd
commit
5299580260
4 changed files with 5 additions and 5 deletions
|
@ -36,8 +36,10 @@
|
|||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
#include "commands.h"
|
||||
#include "match.h"
|
||||
#include "misc.h"
|
||||
#include "optlist.h"
|
||||
#include "tel.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue