aboutsummaryrefslogtreecommitdiff
path: root/src/setup.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-09-17 14:10:38 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-09-17 14:10:38 +0000
commite30dcd05017726859fb185090741b700996f26aa (patch)
tree90ee086525127222fec1149608a2050d08275224 /src/setup.h
parent24dc7cffbdb0f2be6a34ebfdfa7540cddde4c50d (diff)
Linus Nielsen Feltzing's telnet-for-win32 fixes
Diffstat (limited to 'src/setup.h')
-rw-r--r--src/setup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/setup.h b/src/setup.h
index cf47843c5..74c4e8490 100644
--- a/src/setup.h
+++ b/src/setup.h
@@ -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