Browse Source

Fix support for CYGWIN

Carla doesn't work on CYGWIN and the message:
Unsupported platform!
is printed on the console when building.
The macro CARLA_OS_UNIX is needed to make a working executable for CYGWIN, so I added CARLA_OS_CYGWIN, to be added together with existing macros.
Hopefully, it is an easy fix and it has solved all the problems here.
Tested with latest development version of Lmms at the time of writing.
pull/1987/head
Carlo Bramini GitHub 6 months ago
parent
commit
fd8928a4bb
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      source/includes/CarlaDefines.h

+ 3
- 1
source/includes/CarlaDefines.h View File

@@ -38,6 +38,8 @@
# define CARLA_OS_WIN32
#elif defined(__APPLE__)
# define CARLA_OS_MAC
#elif defined(__CYGWIN__)
# define CARLA_OS_CYGWIN
#elif defined(__HAIKU__)
# define CARLA_OS_HAIKU
#elif defined(__linux__) || defined(__linux)
@@ -54,7 +56,7 @@

#if defined(CARLA_OS_WIN32) || defined(CARLA_OS_WIN64)
# define CARLA_OS_WIN
#elif defined(CARLA_OS_BSD) || defined(CARLA_OS_GNU_HURD) || defined(CARLA_OS_LINUX) || defined(CARLA_OS_MAC)
#elif defined(CARLA_OS_BSD) || defined(CARLA_OS_GNU_HURD) || defined(CARLA_OS_LINUX) || defined(CARLA_OS_MAC) || defined(CARLA_OS_CYGWIN)
# define CARLA_OS_UNIX
#endif



Loading…
Cancel
Save