mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-28 02:30:05 +00:00
Clang: Fix some preprocessor defs on windows
This commit is contained in:
parent
c6861bf96e
commit
3c15dc79de
2 changed files with 2 additions and 2 deletions
|
|
@ -3354,7 +3354,7 @@ JUCE_EXPORTED_FUNCTION IPluginFactory* PLUGIN_API GetPluginFactory()
|
|||
}
|
||||
|
||||
//==============================================================================
|
||||
#if _MSC_VER || JUCE_MINGW
|
||||
#if JUCE_WINDOWS
|
||||
extern "C" BOOL WINAPI DllMain (HINSTANCE instance, DWORD reason, LPVOID) { if (reason == DLL_PROCESS_ATTACH) Process::setCurrentModuleInstanceHandle (instance); return true; }
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ namespace juce
|
|||
#endif
|
||||
|
||||
/** This macro defines the C calling convention used as the standard for JUCE calls. */
|
||||
#if JUCE_MSVC
|
||||
#if JUCE_WINDOWS
|
||||
#define JUCE_CALLTYPE __stdcall
|
||||
#define JUCE_CDECL __cdecl
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue