Linus Nielsen Feltzing's telnet-for-win32 fixes

This commit is contained in:
Daniel Stenberg
2001-09-17 14:10:38 +00:00
parent 24dc7cffbd
commit e30dcd0501
5 changed files with 107 additions and 17 deletions

View File

@@ -44,7 +44,7 @@
#define OS "unknown"
#endif
#ifndef fileno /* sunos 4 have this as a macro! */
#if !defined(fileno) && !defined(WIN32) /* sunos 4 have this as a macro! */
int fileno( FILE *stream);
#endif