kopia lustrzana https://github.com/Hamlib/Hamlib
added win32 headers detection
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@640 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.1.2
rodzic
1c82c36aa6
commit
8f3083cdb2
10
src/serial.c
10
src/serial.c
|
@ -4,7 +4,7 @@
|
||||||
* Parts of the PTT handling are derived from soundmodem, an excellent
|
* Parts of the PTT handling are derived from soundmodem, an excellent
|
||||||
* ham packet softmodem written by Thomas Sailer, HB9JNX.
|
* ham packet softmodem written by Thomas Sailer, HB9JNX.
|
||||||
*
|
*
|
||||||
* $Id: serial.c,v 1.17 2001-07-25 21:59:55 f4cfe Exp $
|
* $Id: serial.c,v 1.18 2001-08-22 21:12:09 f4cfe Exp $
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Library General Public License as
|
* it under the terms of the GNU Library General Public License as
|
||||||
|
@ -46,10 +46,14 @@
|
||||||
#include <sgtty.h>
|
#include <sgtty.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_WIN32) || defined(__CYGWIN__)
|
/* for CTS/RTS and DTR/DSR control under Win32 --SF */
|
||||||
/* for CTS/RTS and DTR/DSR control --SF */
|
#ifdef HAVE_WINDOWS_H
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_WINIOCTL_H
|
||||||
#include <winioctl.h>
|
#include <winioctl.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_WINBASE_H
|
||||||
#include <winbase.h>
|
#include <winbase.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue