]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - telnet.c
Correct handling of keypad enter in normal keypad mode.
[PuTTY.git] / telnet.c
index b6e4802d01e069ee0dd28eb36190248b94c67fb1..bf569b49716fdc357fb8871819703e4ea7722031 100644 (file)
--- a/telnet.c
+++ b/telnet.c
@@ -1,17 +1,12 @@
+#ifndef macintosh
 #include <windows.h>
+#include <winsock.h>
+#endif /* not macintosh */
 #include <stdio.h>
 #include <stdlib.h>
-#include <winsock.h>
 
 #include "putty.h"
 
-#ifndef FALSE
-#define FALSE 0
-#endif
-#ifndef TRUE
-#define TRUE 1
-#endif
-
 static SOCKET s = INVALID_SOCKET;
 
 #define        IAC     255             /* interpret as command: */