Put in some (temporary?) "#ifdef WIN32" statements, so that it will

compile under Linux.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2741 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2012-11-16 15:57:42 +00:00
parent 6c8d513e32
commit 332bea90f8
2 changed files with 12 additions and 1 deletions
+5
View File
@@ -3,7 +3,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#ifdef WIN32
#include <windows.h>
#endif
void getfile(QString fname, int ntrperiod)
{
@@ -119,6 +122,7 @@ float gran()
int ptt(int nport, int ntx, int *iptt)
{
#ifdef WIN32
static HANDLE hFile;
static int open=0;
char s[10];
@@ -161,4 +165,5 @@ int ptt(int nport, int ntx, int *iptt)
if(i9==0) return -(CLRBREAK);
if(i00==0) return -10;
return 0;
#endif
}