Skip to content
Snippets Groups Projects
Commit c7aa2111 authored by deuce's avatar deuce
Browse files

Send init errors to stderr

parent 841151a1
No related branches found
No related tags found
No related merge requests found
......@@ -2374,6 +2374,9 @@ void ODInitError(char *pszErrorText)
free(pszMessage);
}
#endif
#ifdef ODPLAT_NIX
write(2,pszErrorText,strlen(pszErrorText));
#endif
}
......
......@@ -203,7 +203,7 @@ tODResult ODKrnlInitialize(void)
itv.it_value.tv_sec=0;
itv.it_value.tv_usec=10000;
setitimer(ITIMER_REAL,&itv,NULL);
/* Make stdin signal driven. */
/* act.sa_handler=sig_get_char;
/* act.sa_flags=0;
......
......@@ -72,7 +72,8 @@ typedef struct
clock_t Start;
clock_t Duration;
#elif defined(ODPLAT_NIX)
struct timeval Start;
long Start_sec;
long Start_usec;
tODMilliSec Duration;
#else /* !ODPLAT_DOS */
tODMilliSec Start;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment