Cross compiled by llvm-mingw (nfq2/winnative/build.sh). Upstream sources are not changed: a force-included header emulates the cygwin environment, compat.c replaces the cygwin runtime (utf-8 file api, path conversion, command line and @file parsing identical to cygwin, signals, wordexp). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 lines
528 B
C
15 lines
528 B
C
// winnative: syslog does not exist on windows. calls are no-op
|
|
#pragma once
|
|
#define LOG_EMERG 0
|
|
#define LOG_ALERT 1
|
|
#define LOG_CRIT 2
|
|
#define LOG_ERR 3
|
|
#define LOG_WARNING 4
|
|
#define LOG_NOTICE 5
|
|
#define LOG_INFO 6
|
|
#define LOG_DEBUG 7
|
|
#define LOG_PID 1
|
|
#define LOG_USER 8
|
|
static inline void openlog(const char *ident, int option, int facility) { (void)ident; (void)option; (void)facility; }
|
|
static inline void closelog(void) {}
|
|
static inline void syslog(int priority, const char *format, ...) { (void)priority; (void)format; }
|