diff --git a/include/serial/impl/unix.h b/include/serial/impl/unix.h index 88f8b025..a7985da3 100644 --- a/include/serial/impl/unix.h +++ b/include/serial/impl/unix.h @@ -35,6 +35,8 @@ * */ +#if !defined(_WIN32) + #ifndef SERIAL_IMPL_UNIX_H #define SERIAL_IMPL_UNIX_H @@ -198,3 +200,5 @@ class serial::Serial::SerialImpl { } #endif // SERIAL_IMPL_UNIX_H + +#endif // !defined(_WIN32)