Browse Source

Fix showing UI bridges for a few systems

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.3.0-RC1
falkTX 3 years ago
parent
commit
f94da16d00
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 9 additions and 1 deletions
  1. +4
    -1
      Makefile.dist.mk
  2. +5
    -0
      source/utils/CarlaPipeUtils.cpp

+ 4
- 1
Makefile.dist.mk View File

@@ -67,11 +67,14 @@ _CARLA_HOST_FILES = \
carla-discovery-native$(APP_EXT) \
libcarla_utils$(LIB_EXT)

# TODO plugin UIs on windows
ifeq ($(MACOS),true)
_CARLA_HOST_FILES += \
$(_PLUGIN_UIS:%=resources/%$(APP_EXT)) \
carla-bridge-lv2-cocoa$(APP_EXT)
else ifeq ($(WIN32),true)
# TODO plugin UIs on windows
_CARLA_HOST_FILES += \
carla-bridge-lv2-windows$(APP_EXT)
endif

_CARLA_APP_FILES = \


+ 5
- 0
source/utils/CarlaPipeUtils.cpp View File

@@ -767,7 +767,12 @@ bool CarlaPipeCommon::readNextLineAsUInt(uint32_t& value) const noexcept

if (const char* const msg = _readlineblock(false))
{
#if (defined(__WORDSIZE) && __WORDSIZE < 64) || (defined(__SIZE_WIDTH__) && __SIZE_WIDTH__ < 64) || \
defined(CARLA_OS_WIN) || defined(CARLA_OS_MAC)
const long long aslong = std::atoll(msg);
#else
const long aslong = std::atol(msg);
#endif

if (aslong >= 0)
{


Loading…
Cancel
Save