git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6011
d7cf8633-e32d-0410-b094-
e92efae38249
#ifdef WIN32
+#include <io.h>
#include "conio.h"
#else
#include <unistd.h>
#endif
while(*text)
{
- ssize_t written = write(1, text, strlen(text));
+ int written = (int)write(1, text, strlen(text));
if(written <= 0)
break; // sorry, I cannot do anything about this error - without an output
text += written;
#ifdef WIN32
+#include <io.h>
#include "conio.h"
#else
#include <unistd.h>
#endif
while(*text)
{
- ssize_t written = write(1, text, strlen(text));
+ int written = (int)write(1, text, strlen(text));
if(written <= 0)
break; // sorry, I cannot do anything about this error - without an output
text += written;