mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-09 09:24:59 -04:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user