Closed ikspress closed 2 months ago
I also moved msleep() macro definition to nfc-internal.h and remove #include <err.h> due to it only used in nfc-utils.h.
msleep()
nfc-internal.h
#include <err.h>
nfc-utils.h
https://godbolt.org/z/edfabjf4h signal(SIGINT, intr_hdlr) also working correctly on Windows.
signal(SIGINT, intr_hdlr)
I noticed that libnfc only uses "contrib/win32/getopt.h" instead of on win32.
I also moved
msleep()
macro definition tonfc-internal.h
and remove#include <err.h>
due to it only used innfc-utils.h
.