Some winradio backends have only support for Linux module, ie. depend on linux/ioctl.h

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1802 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.2
Stéphane Fillod, F8CFE 2004-08-16 20:44:16 +00:00
rodzic 90e7a4f591
commit 4c16d9b1d4
2 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

@ -59,7 +59,8 @@ AC_HEADER_STDC
AC_CHECK_HEADERS([alloca.h argz.h malloc.h memory.h string.h strings.h])
AC_CHECK_HEADERS([stdlib.h values.h rpc/rpc.h rpc/rpcent.h net/errno.h])
AC_CHECK_HEADERS([fcntl.h sys/ioctl.h sys/time.h sys/param.h unistd.h getopt.h errno.h])
AC_CHECK_HEADERS([sys/ioccom.h linux/ppdev.h linux/parport.h sgtty.h term.h termio.h termios.h])
AC_CHECK_HEADERS([sys/ioccom.h sgtty.h term.h termio.h termios.h])
AC_CHECK_HEADERS([linux/ppdev.h linux/parport.h linux/ioctl.h])
dnl Check for Mingw support
GR_PWIN32

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib WiNRADiO backend - main header
* Copyright (c) 2000-2003 by Stephane Fillod
* Copyright (c) 2000-2004 by Stephane Fillod
*
* $Id: winradio.h,v 1.9 2004-04-16 20:06:24 fillods Exp $
* $Id: winradio.h,v 1.10 2004-08-16 20:44:16 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -30,7 +30,7 @@
* So far, only Linux has Linradio support through ioctl,
* until someone port it to some other OS...
*/
#ifdef HAVE_IOCTL
#ifdef HAVE_LINUX_IOCTL_H
#define WINRADIO_IOCTL
#endif