1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00
This commit is contained in:
無常 2025-12-27 19:47:48 +00:00 committed by GitHub
commit 37feb7cb6c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -144,15 +144,19 @@ JUCE_END_IGNORE_WARNINGS_MSVC
//==============================================================================
// DLL building settings on Windows
#if JUCE_MSVC
#if JUCE_WINDOWS
#ifdef JUCE_DLL_BUILD
#define JUCE_API __declspec (dllexport)
#pragma warning (disable: 4251)
#ifdef _MSC_VER
#pragma warning (disable: 4251)
#endif
#elif defined (JUCE_DLL)
#define JUCE_API __declspec (dllimport)
#pragma warning (disable: 4251)
#ifdef _MSC_VER
#pragma warning (disable: 4251)
#endif
#endif
#ifdef __INTEL_COMPILER
#if JUCE_MSVC && defined(__INTEL_COMPILER)
#pragma warning (disable: 1125) // (virtual override warning)
#endif
#elif defined (JUCE_DLL) || defined (JUCE_DLL_BUILD)
@ -165,7 +169,7 @@ JUCE_END_IGNORE_WARNINGS_MSVC
#define JUCE_API
#endif
#if JUCE_MSVC && JUCE_DLL_BUILD
#if JUCE_WINDOWS && JUCE_DLL_BUILD
#define JUCE_PUBLIC_IN_DLL_BUILD(declaration) public: declaration; private:
#else
#define JUCE_PUBLIC_IN_DLL_BUILD(declaration) declaration;