Skip to content

Commit

Permalink
Merge branch '2.3' of [email protected]:mixxxdj/mixxx.git
Browse files Browse the repository at this point in the history
  • Loading branch information
uklotzde committed Jul 19, 2021
2 parents 69a4193 + f48c276 commit 80e9fa8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/modules/FindLibUSB.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ find_path(LibUSB_INCLUDE_DIR
mark_as_advanced(LibUSB_INCLUDE_DIR)

find_library(LibUSB_LIBRARY
NAMES usb-1.0
NAMES usb-1.0 usb
PATHS ${PC_LibUSB_LIBRARY_DIRS}
DOC "LibUSB library"
)
Expand Down
2 changes: 1 addition & 1 deletion lib/rigtorp/SPSCQueue/include/rigtorp/SPSCQueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ template <typename T, typename Allocator = std::allocator<T>> class SPSCQueue {
// on macOS there is a bug in libc++ where __cpp_lib_hardware_interference_size
// is defined but std::hardware_destructive_interference_size is not actually implemented
// https://bugs.llvm.org/show_bug.cgi?id=41423
#if defined(__cpp_lib_hardware_interference_size) && ! defined(__APPLE__)
#if defined(__cpp_lib_hardware_interference_size) && ! defined(__APPLE__) && ! defined(__BSD__)
static constexpr size_t kCacheLineSize =
std::hardware_destructive_interference_size;
#else
Expand Down
5 changes: 5 additions & 0 deletions src/util/versionstore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ QString VersionStore::platform() {
QString base = QStringLiteral("Linux");
#elif defined(__WINDOWS__)
QString base = QStringLiteral("Windows");
// Mixxx's CMakeLists.txt does not define this, but FreeBSD's ports system does.
#elif defined(__FREEBSD__)
QString base = QStringLiteral("FreeBSD");
#elif defined(__BSD__)
QString base = QStringLiteral("BSD");
#else
QString base = QStringLiteral("Unknown OS");
#endif
Expand Down

0 comments on commit 80e9fa8

Please sign in to comment.