mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-22 19:54:57 +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>
|
* Copyright (c) 2014 Craig Lilley <cralilley@gmail.com>
|
||||||
|
|||||||
@ -27,7 +27,7 @@ void loop()
|
|||||||
|
|
||||||
#include "serial/serial.h"
|
#include "serial/serial.h"
|
||||||
|
|
||||||
#if defined(__linux__)
|
#if (defined(__linux__) || defined(__unix__))
|
||||||
#include <pty.h>
|
#include <pty.h>
|
||||||
#else
|
#else
|
||||||
#include <util.h>
|
#include <util.h>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user