1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

More plugin DllMain tweaks.

This commit is contained in:
jules 2012-09-26 12:12:19 +01:00
parent d9d5a6ae51
commit 438e813d0e

View file

@ -46,7 +46,7 @@ extern "C" BOOL WINAPI DllMain (HINSTANCE instance, DWORD reason, LPVOID reserve
if (GetModuleHandleA ("DAE.DLL") != 0)
{
#if JucePlugin_Build_AAX
if (! File::getSpecialLocation (File::currentExecutableFile).extentionMatches ("aax"))
if (! File::getSpecialLocation (File::currentExecutableFile).hasFileExtension ("aaxplugin"))
#endif
return DllMainRTAS (instance, reason, reserved);
}