mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
fix compilation error
This commit is contained in:
parent
cfd259fcf1
commit
9787cad03a
15
log.c
15
log.c
@ -452,6 +452,21 @@ sshlogdie(const char *file, const char *func, int line, int showfunc,
|
||||
cleanup_exit(255);
|
||||
}
|
||||
|
||||
#ifdef WINDOWS
|
||||
void
|
||||
sshsigdie(const char* file, const char* func, int line, int showfunc,
|
||||
LogLevel level, const char* suffix, const char* fmt, ...)
|
||||
{
|
||||
va_list args;
|
||||
|
||||
va_start(args, fmt);
|
||||
sshlogv(file, func, line, showfunc, SYSLOG_LEVEL_FATAL,
|
||||
suffix, fmt, args);
|
||||
va_end(args);
|
||||
_exit(1);
|
||||
}
|
||||
#endif /* WINDOWS */
|
||||
|
||||
void
|
||||
sshlogv(const char *file, const char *func, int line, int showfunc,
|
||||
LogLevel level, const char *suffix, const char *fmt, va_list args)
|
||||
|
Loading…
x
Reference in New Issue
Block a user