diff --git a/mainwindow.cpp b/mainwindow.cpp index 25c2ddcb4..1b9c34d6c 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -298,7 +298,7 @@ MainWindow::MainWindow(QSharedMemory *shdmem, QWidget *parent) : } #endif -#ifdef unix +#ifdef UNIX psk_Reporter = new PSK_Reporter(this); psk_Reporter->setLocalStation(m_myCall,m_myGrid, "WSJT-X r" + rev.mid(6,4) ); #endif @@ -695,7 +695,7 @@ void MainWindow::on_actionDeviceSetup_triggered() //Setup Dialog } #endif -#ifdef unix +#ifdef UNIX psk_Reporter->setLocalStation(m_myCall,m_myGrid, "WSJT-X r" + rev.mid(6,4) ); #endif diff --git a/soundout.cpp b/soundout.cpp index ca9614bfe..1766084a4 100644 --- a/soundout.cpp +++ b/soundout.cpp @@ -88,7 +88,7 @@ extern "C" int d2aCallback(const void *inputBuffer, void *outputBuffer, } if(!btxok or btxMute) i2=0; *wptr++ = i2; //left -#ifdef unix +#ifdef UNIX *wptr++ = i2; //right #endif ic++; @@ -123,7 +123,7 @@ extern "C" int d2aCallback(const void *inputBuffer, void *outputBuffer, } if(!btxok or btxMute) i2=0; *wptr++ = i2; //left -#ifdef unix +#ifdef UNIX *wptr++ = i2; //right #endif ic++;