Skip to content

Commit

Permalink
util_serial iOS stub compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
gewang committed May 18, 2024
1 parent bc71b9f commit 54aba1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/core/util_buffers.h
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ class FastCircularBuffer

//-----------------------------------------------------------------------------
// name: FinalRingBuffer
// desc: hopefully this will the last lock-free queue we need to implement...
// desc: hopefully this will be the last lock-free queue we need to implement...
// hopefully not like FinalFantasy which has sequels
//
// added 1.5.2.5 (ge) | adapted from:
Expand Down
11 changes: 7 additions & 4 deletions src/core/util_serial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,12 +258,15 @@ vector<string> SerialIOManager::availableSerialDevices()
}


#else // ? e.g. iPhone
#else // ? e.g., iPhone

vector<string> SerialIOManager::availableSerialDevices()
{
vector<string> devices;

// for compatibility | 1.5.2.5 (ge & eito) added std::
std::vector<std::string> SerialIOManager::availableSerialDevices()
{
// vector of devices
std::vector<std::string> devices;
// return empty list
return devices;
}

Expand Down

0 comments on commit 54aba1d

Please sign in to comment.