Browse Source
- Wrap POSIX headers (netdb.h, ifaddrs.h, net/if.h) in #ifndef _WIN32 in config_parser.c - Add Windows stub for get_netif_index() - returns 0 (no interface binding) - Wrap daemonize() function for Windows - returns 0 (no fork/setsid support) - Replace setlinebuf() with setvbuf() for Windows compatibility - Wrap SIGHUP signal handler in #ifndef _WIN32 - Add explicit poll() declaration for Windows in platform_compat.h - All 22 tests pass on Linuxnodeinfo-routing-update
3 changed files with 22 additions and 1 deletions
Loading…
Reference in new issue