Browse Source

Fix osx/win build after some juce changes

tags/1.9.7b
falkTX 8 years ago
parent
commit
c7bd702449
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      source/utils/CarlaPipeUtils.cpp

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

@@ -36,14 +36,16 @@
#include <fcntl.h> #include <fcntl.h>


#if defined(CARLA_OS_MAC) || defined(CARLA_OS_WIN) #if defined(CARLA_OS_MAC) || defined(CARLA_OS_WIN)
# include "AppConfig.h"
# include "juce_core/juce_core.h" # include "juce_core/juce_core.h"
#else #else
# include <cerrno> # include <cerrno>
# include <signal.h> # include <signal.h>
# include <sys/wait.h> # include <sys/wait.h>
# ifndef F_SETPIPE_SZ
# define F_SETPIPE_SZ 1031
# endif
#endif

#ifndef F_SETPIPE_SZ
# define F_SETPIPE_SZ 1031
#endif #endif


#ifdef CARLA_OS_WIN #ifdef CARLA_OS_WIN
@@ -1166,7 +1168,6 @@ bool CarlaPipeServer::startPipeServer(const char* const filename,
//---------------------------------------------------------------- //----------------------------------------------------------------
// set size, non-fatal // set size, non-fatal


# ifndef CARLA_OS_MAC
try { try {
::fcntl(pipeRecvClient, F_SETPIPE_SZ, size); ::fcntl(pipeRecvClient, F_SETPIPE_SZ, size);
} CARLA_SAFE_EXCEPTION("Set pipe size"); } CARLA_SAFE_EXCEPTION("Set pipe size");
@@ -1174,7 +1175,6 @@ bool CarlaPipeServer::startPipeServer(const char* const filename,
try { try {
::fcntl(pipeRecvServer, F_SETPIPE_SZ, size); ::fcntl(pipeRecvServer, F_SETPIPE_SZ, size);
} CARLA_SAFE_EXCEPTION("Set pipe size"); } CARLA_SAFE_EXCEPTION("Set pipe size");
# endif


//---------------------------------------------------------------- //----------------------------------------------------------------
// set non-block // set non-block


Loading…
Cancel
Save