MSVC serial fix-up

This commit is contained in:
Charles J. Cliffe
2017-04-20 20:41:03 -04:00
parent f9dc1aeb32
commit 21b2b3d191
2 changed files with 9 additions and 74 deletions
+4
View File
@@ -9,7 +9,11 @@ PortSelectorDialog::PortSelectorDialog( wxWindow* parent, wxWindowID id, std::st
int nPorts = comGetNoPorts();
for (int i = 0; i < nPorts; i++) {
#ifdef WIN32
m_portList->Append(comGetPortName(i));
#else
m_portList->Append(comGetInternalName(i));
#endif
}
comTerminate();