more dos bits
This commit is contained in:
@@ -738,7 +738,7 @@ register unsigned num;
|
||||
#endif /* UNIX */
|
||||
{
|
||||
/* lint wants the 3rd arg of write to be an int; lint -p an unsigned */
|
||||
#if defined(BSD) || defined(ULTRIX) || defined(WIN32)
|
||||
#if defined(BSD) || defined(ULTRIX) || defined(WIN32) || defined(_MSC_VER)
|
||||
failed = (write(fd, loc, (int)num) != (int)num);
|
||||
#else /* e.g. SYSV, __TURBOC__ */
|
||||
failed = (write(fd, loc, num) != num);
|
||||
|
||||
Reference in New Issue
Block a user