Wykres commitów

7 Commity (ca13b51a657615cf06265dfcd009afcd23568bc1)

Autor SHA1 Wiadomość Data
Nate Bargmann a16dd4797a gr_pwin32.m4: Replace inline sleep() function
Building libltdl recursively with MinGW failed with an error of "sleep"
being redefined.  Commenting out the sleep() definition in config.h.in
resulted in libtdl compiling but a linker failure in libyaesu as
"_sleep" was not defined.

A bit of searching reveals that the MS Windows API does not include
"sleep" and MinGW does not include it either, hence the definition in
gr_pwin32.m4 from the GNU Radio project.  Uopn finding a MinGW User
thread from 2007 that discussed this very issue, the following message
hinted that using a CPP #define to wrap Windows Sleep() may work:

http://mingw.5.n7.nabble.com/Help-where-is-the-C-language-sleep-function-tp8921p8925.html

And indeed it seems to.  Compilation is now clean with recursive libltdl
and the rest of Hamlib, but does it work?
2013-04-24 21:58:50 -05:00
Nate Bargmann ea47d89f3f configure.ac: Quell autoconf obsolete warnings
Using the -Wall switch to autoconf/autoreconf revealed a number of
obsolete macros.  At the moment, offending macros have been commented
out using 'dnl'.  They will be removed at some later date.
2012-09-25 22:29:30 -05:00
Stephane Fillod 084aaef2a5 timersub macro needed for timing in iofunc.c for win32 2011-12-12 09:40:43 +01:00
Stéphane Fillod, F8CFE 41de3bef9c mingw portability
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2908 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-05-05 19:55:13 +00:00
Stéphane Fillod, F8CFE 2f021f1922 fix Solaris build and maybe other missing getopt_long
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1991 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-04 21:27:03 +00:00
Stéphane Fillod, F8CFE 91ca25868e Sleep() needs windows.h/winbase.h for test to succeed under Cygwin w/ -mno-cygwin
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1805 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-16 22:28:33 +00:00
Stéphane Fillod, F8CFE dc603abc33 initial revision
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1599 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-16 22:10:34 +00:00