add WIN32 flags.

This commit is contained in:
Vitor Santos Costa 2011-07-26 17:54:17 +01:00
parent 69f1bedf47
commit 00949b8783

View File

@ -340,6 +340,9 @@ PL_EXPORT(int) Speekcode(IOSTREAM *s);
#define SIO_SETENCODING (3) /* modify encoding of stream */
#define SIO_FLUSHOUTPUT (4) /* flush output */
#define SIO_LASTERROR (5) /* string holding last error */
#ifdef __WINDOWS__
#define SIO_GETWINSOCK (6) /* get underlying SOCKET object */
#endif
/* Sread_pending() */
#define SIO_RP_BLOCK 0x1 /* wait for new input */