Browse Source

More fixes for non-gnu systems

tags/1.9.8
falkTX 7 years ago
parent
commit
74b3137d83
3 changed files with 10 additions and 13 deletions
  1. +4
    -4
      source/Makefile.mk
  2. +1
    -1
      source/jackbridge/JackBridge.hpp
  3. +5
    -8
      source/utils/CarlaVstUtils.hpp

+ 4
- 4
source/Makefile.mk View File

@@ -265,11 +265,11 @@ endif
# --------------------------------------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------------------------------------
# Set PyQt tools # Set PyQt tools


PYRCC4 ?= $(shell which pyrcc4)
PYUIC4 ?= $(shell which pyuic4)
PYRCC4 ?= $(shell which pyrcc4 2>/dev/null)
PYUIC4 ?= $(shell which pyuic4 2>/dev/null)


PYRCC5 ?= $(shell which pyrcc5)
PYUIC5 ?= $(shell which pyuic5)
PYRCC5 ?= $(shell which pyrcc5 2>/dev/null)
PYUIC5 ?= $(shell which pyuic5 2>/dev/null)


HAVE_PYQT4=false HAVE_PYQT4=false
HAVE_PYQT5=false HAVE_PYQT5=false


+ 1
- 1
source/jackbridge/JackBridge.hpp View File

@@ -31,7 +31,7 @@


#include "CarlaDefines.h" #include "CarlaDefines.h"


#ifdef __cdecl
#if defined(CARLA_OS_WIN) && defined(__cdecl)
# define JACKBRIDGE_API __cdecl # define JACKBRIDGE_API __cdecl
#else #else
# define JACKBRIDGE_API # define JACKBRIDGE_API


+ 5
- 8
source/utils/CarlaVstUtils.hpp View File

@@ -23,13 +23,6 @@
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
// Include fixes // Include fixes


// Define __cdecl if needed
#ifndef CARLA_OS_WIN
# ifndef __cdecl
# define __cdecl
# endif
#endif

// Disable deprecated VST features (NOT) // Disable deprecated VST features (NOT)
#define VST_2_4_EXTENSIONS 1 #define VST_2_4_EXTENSIONS 1
#define VST_FORCE_DEPRECATED 0 #define VST_FORCE_DEPRECATED 0
@@ -105,7 +98,11 @@
#define kVstTransportChanged 1 #define kVstTransportChanged 1
#define kVstVersion 2400 #define kVstVersion 2400
#define DECLARE_VST_DEPRECATED(idx) idx #define DECLARE_VST_DEPRECATED(idx) idx
#define VSTCALLBACK __cdecl
#if defined(CARLA_OS_WIN) && defined(__cdecl)
# define VSTCALLBACK __cdecl
#else
# define VSTCALLBACK
#endif
struct ERect { struct ERect {
int16_t top, left, bottom, right; int16_t top, left, bottom, right;
}; };


Loading…
Cancel
Save