kopia lustrzana https://github.com/Hamlib/Hamlib
mingw portability
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2908 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.11
rodzic
c151a6cc46
commit
41de3bef9c
|
@ -61,11 +61,13 @@ typedef unsigned int tcflag_t;
|
||||||
interfaces.
|
interfaces.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef _TIMESPEC_DEFINED
|
||||||
struct timespec
|
struct timespec
|
||||||
{
|
{
|
||||||
time_t tv_sec;
|
time_t tv_sec;
|
||||||
long tv_nsec;
|
long tv_nsec;
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
#define NCCS 32
|
#define NCCS 32
|
||||||
struct termios
|
struct termios
|
||||||
|
@ -137,7 +139,7 @@ int win32_serial_select(int, struct fd_set *, struct fd_set *, struct fd_set *,
|
||||||
void termios_interrupt_event_loop( int , int );
|
void termios_interrupt_event_loop( int , int );
|
||||||
void termios_setflags( int , int[] );
|
void termios_setflags( int , int[] );
|
||||||
struct termios_list *find_port( int );
|
struct termios_list *find_port( int );
|
||||||
int usleep(unsigned long usec);
|
int usleep(unsigned int usec);
|
||||||
int fcntl(int fd, int command, ...);
|
int fcntl(int fd, int command, ...);
|
||||||
const char *get_dos_port(const char *);
|
const char *get_dos_port(const char *);
|
||||||
void set_errno(int);
|
void set_errno(int);
|
||||||
|
|
|
@ -31,7 +31,7 @@ AC_CHECK_HEADERS([winioctl.h winbase.h], [], [], [
|
||||||
#endif
|
#endif
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_CHECK_FUNCS([getopt getopt_long usleep gettimeofday])
|
AC_CHECK_FUNCS([getopt getopt_long usleep sleep gettimeofday])
|
||||||
AC_CHECK_TYPES([struct timezone, ssize_t],[],[],[
|
AC_CHECK_TYPES([struct timezone, ssize_t],[],[],[
|
||||||
#if HAVE_SYS_TYPES_H
|
#if HAVE_SYS_TYPES_H
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
|
|
|
@ -3,6 +3,7 @@ RACALSRCLIST = ra6790.c ra3702.c
|
||||||
lib_LTLIBRARIES = hamlib-racal.la
|
lib_LTLIBRARIES = hamlib-racal.la
|
||||||
hamlib_racal_la_SOURCES = $(RACALSRCLIST) racal.c ra37xx.c
|
hamlib_racal_la_SOURCES = $(RACALSRCLIST) racal.c ra37xx.c
|
||||||
hamlib_racal_la_LDFLAGS = -no-undefined -module -avoid-version
|
hamlib_racal_la_LDFLAGS = -no-undefined -module -avoid-version
|
||||||
hamlib_racal_la_LIBADD = $(top_builddir)/src/libhamlib.la
|
hamlib_racal_la_LIBADD = $(top_builddir)/src/libhamlib.la \
|
||||||
|
$(top_builddir)/lib/libmisc.la
|
||||||
|
|
||||||
noinst_HEADERS = racal.h ra37xx.h
|
noinst_HEADERS = racal.h ra37xx.h
|
||||||
|
|
Ładowanie…
Reference in New Issue