I have removed the #include <err.h> as it was only used in nfc-utils.h. Then, I have moved the definition of msleep() macro to nfc-internal.h for better organization.
Furthermore, I tested on several compilers (include MSVC and MinGW), ensuring that signal(SIGINT, intr_hdlr) working correctly on MSVC. Here are some of them.
I have removed the
#include <err.h>
as it was only used in nfc-utils.h. Then, I have moved the definition ofmsleep()
macro to nfc-internal.h for better organization. Furthermore, I tested on several compilers (include MSVC and MinGW), ensuring thatsignal(SIGINT, intr_hdlr)
working correctly on MSVC. Here are some of them.