mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-23 04:04:54 +08:00
Merge e7cd4c506e43337de10d7775a28a8f4db748b8e1 into 69e0372cf0d3796e84ce9a09aff1d74496f68720
This commit is contained in:
commit
b712a9c554
@ -1,4 +1,4 @@
|
||||
#if defined(__linux__)
|
||||
#if (defined(__linux__) || defined(__unix__))
|
||||
|
||||
/*
|
||||
* Copyright (c) 2014 Craig Lilley <cralilley@gmail.com>
|
||||
|
||||
@ -27,7 +27,7 @@ void loop()
|
||||
|
||||
#include "serial/serial.h"
|
||||
|
||||
#if defined(__linux__)
|
||||
#if (defined(__linux__) || defined(__unix__))
|
||||
#include <pty.h>
|
||||
#else
|
||||
#include <util.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user