Browse Source

Misc

tags/1.9.7
falkTX 9 years ago
parent
commit
285c1b16e4
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      source/jackbridge/JackBridge1.cpp

+ 3
- 3
source/jackbridge/JackBridge1.cpp View File

@@ -553,7 +553,7 @@ static const JackBridge& getBridgeInstance() noexcept


// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------


#ifdef __WINE__
#if defined(__WINE__) && ! defined(JACKBRIDGE_DIRECT)


struct WineBridge { struct WineBridge {
void* ptr; void* ptr;
@@ -749,7 +749,7 @@ struct WineBridge {
CARLA_DECLARE_NON_COPY_STRUCT(WineBridge); CARLA_DECLARE_NON_COPY_STRUCT(WineBridge);
}; };


#endif // __WINE__
#endif // __WINE__ && ! JACKBRIDGE_DIRECT


// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------


@@ -766,7 +766,7 @@ bool jackbridge_is_ok() noexcept


void jackbridge_init() void jackbridge_init()
{ {
#ifdef __WINE__
#if defined(__WINE__) && ! defined(JACKBRIDGE_DIRECT)
if (getBridgeInstance().set_thread_creator_ptr != nullptr) if (getBridgeInstance().set_thread_creator_ptr != nullptr)
getBridgeInstance().set_thread_creator_ptr(WineBridge::thread_creator); getBridgeInstance().set_thread_creator_ptr(WineBridge::thread_creator);
#endif #endif


Loading…
Cancel
Save