From 5f0720816b58646e2bdcd2fea162421efd99351e Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Mon, 23 Jan 2012 03:16:09 +1000 Subject: [PATCH] Swap mac serial portnames just like windows needed --- oximetry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oximetry.cpp b/oximetry.cpp index 9b492fa6..4f8bff6c 100644 --- a/oximetry.cpp +++ b/oximetry.cpp @@ -939,7 +939,7 @@ void Oximetry::on_RefreshPortsButton_clicked() bool current_found=false; // Windows build mixes these up -#ifdef Q_WS_WIN32 || Q_WS_MAC +#if defined(Q_WS_WIN32) || defined(Q_WS_MAC) #define qesPORTNAME portName #else #define qesPORTNAME physName