Browse Source

Cleanup

pull/72/head
falkTX 6 years ago
parent
commit
b2e7ff2ee4
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      distrho/src/DistrhoDefines.h

+ 3
- 3
distrho/src/DistrhoDefines.h View File

@@ -28,15 +28,15 @@
/* Check OS */ /* Check OS */
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) #if defined(WIN32) || defined(_WIN32) || defined(__WIN32__)
# define DISTRHO_PLUGIN_EXPORT extern "C" __declspec (dllexport) # define DISTRHO_PLUGIN_EXPORT extern "C" __declspec (dllexport)
# define DISTRHO_OS_WINDOWS 1
# define DISTRHO_OS_WINDOWS 1
# define DISTRHO_DLL_EXTENSION "dll" # define DISTRHO_DLL_EXTENSION "dll"
#else #else
# define DISTRHO_PLUGIN_EXPORT extern "C" __attribute__ ((visibility("default"))) # define DISTRHO_PLUGIN_EXPORT extern "C" __attribute__ ((visibility("default")))
# if defined(__APPLE__) # if defined(__APPLE__)
# define DISTRHO_OS_MAC 1
# define DISTRHO_OS_MAC 1
# define DISTRHO_DLL_EXTENSION "dylib" # define DISTRHO_DLL_EXTENSION "dylib"
# elif defined(__HAIKU__) # elif defined(__HAIKU__)
# define DISTRHO_OS_HAIKU 1
# define DISTRHO_OS_HAIKU 1
# elif defined(__linux__) || defined(__linux) # elif defined(__linux__) || defined(__linux)
# define DISTRHO_OS_LINUX 1 # define DISTRHO_OS_LINUX 1
# endif # endif


Loading…
Cancel
Save