1
0
Fork 0
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:
reuk 2020-06-29 13:45:45 +01:00
parent c6861bf96e
commit 3c15dc79de
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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