mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Merge 15f8e140f0 into 0e43b31e50
This commit is contained in:
commit
37feb7cb6c
1 changed files with 9 additions and 5 deletions
|
|
@ -144,15 +144,19 @@ JUCE_END_IGNORE_WARNINGS_MSVC
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
// DLL building settings on Windows
|
// DLL building settings on Windows
|
||||||
#if JUCE_MSVC
|
#if JUCE_WINDOWS
|
||||||
#ifdef JUCE_DLL_BUILD
|
#ifdef JUCE_DLL_BUILD
|
||||||
#define JUCE_API __declspec (dllexport)
|
#define JUCE_API __declspec (dllexport)
|
||||||
#pragma warning (disable: 4251)
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning (disable: 4251)
|
||||||
|
#endif
|
||||||
#elif defined (JUCE_DLL)
|
#elif defined (JUCE_DLL)
|
||||||
#define JUCE_API __declspec (dllimport)
|
#define JUCE_API __declspec (dllimport)
|
||||||
#pragma warning (disable: 4251)
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning (disable: 4251)
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef __INTEL_COMPILER
|
#if JUCE_MSVC && defined(__INTEL_COMPILER)
|
||||||
#pragma warning (disable: 1125) // (virtual override warning)
|
#pragma warning (disable: 1125) // (virtual override warning)
|
||||||
#endif
|
#endif
|
||||||
#elif defined (JUCE_DLL) || defined (JUCE_DLL_BUILD)
|
#elif defined (JUCE_DLL) || defined (JUCE_DLL_BUILD)
|
||||||
|
|
@ -165,7 +169,7 @@ JUCE_END_IGNORE_WARNINGS_MSVC
|
||||||
#define JUCE_API
|
#define JUCE_API
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if JUCE_MSVC && JUCE_DLL_BUILD
|
#if JUCE_WINDOWS && JUCE_DLL_BUILD
|
||||||
#define JUCE_PUBLIC_IN_DLL_BUILD(declaration) public: declaration; private:
|
#define JUCE_PUBLIC_IN_DLL_BUILD(declaration) public: declaration; private:
|
||||||
#else
|
#else
|
||||||
#define JUCE_PUBLIC_IN_DLL_BUILD(declaration) declaration;
|
#define JUCE_PUBLIC_IN_DLL_BUILD(declaration) declaration;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue