Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit c7aa2111 authored by deuce's avatar deuce

Send init errors to stderr

parent 841151a1
...@@ -2374,6 +2374,9 @@ void ODInitError(char *pszErrorText) ...@@ -2374,6 +2374,9 @@ void ODInitError(char *pszErrorText)
free(pszMessage); free(pszMessage);
} }
#endif #endif
#ifdef ODPLAT_NIX
write(2,pszErrorText,strlen(pszErrorText));
#endif
} }
......
...@@ -72,7 +72,8 @@ typedef struct ...@@ -72,7 +72,8 @@ typedef struct
clock_t Start; clock_t Start;
clock_t Duration; clock_t Duration;
#elif defined(ODPLAT_NIX) #elif defined(ODPLAT_NIX)
struct timeval Start; long Start_sec;
long Start_usec;
tODMilliSec Duration; tODMilliSec Duration;
#else /* !ODPLAT_DOS */ #else /* !ODPLAT_DOS */
tODMilliSec Start; tODMilliSec Start;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment