That doesn't fix the problem with scanner.h, and CMake already generates
MSVC project files that define it, so it's not necessary with CMake.
Other build processes should arrange either that it be defined or that
the code protected by it doesn't get generated.
*/
#ifdef _WIN32
- /*
- * Make sure we suppress the #include of unistd.h; Windows doesn't have
- * unistd.h.
- */
- #ifndef YY_NO_UNISTD_H
- #define YY_NO_UNISTD_H
- #endif
-
#include <pcap-stdinc.h>
#else
#if HAVE_INTTYPES_H