zapret2-fork/nfq2/winnative/include/syslog.h
loop-uh 5e1409131e winws2: native windows build without cygwin1.dll
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>
2026-10-07 16:26:52 +03:00

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; }