1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-19 01:04:20 +00:00

Fixed a Windows RTAS namespacing issue

This commit is contained in:
tpoole 2017-11-06 15:02:58 +00:00
parent 9bb5c2e32e
commit 20b625fefa

View file

@ -24,8 +24,7 @@
==============================================================================
*/
namespace juce
{
#if JucePlugin_Build_RTAS
#include "../../juce_core/system/juce_TargetPlatform.h"
#include "../utility/juce_CheckSettingMacros.h"
@ -33,8 +32,6 @@ namespace juce
// (these functions are in their own file because of problems including windows.h
// at the same time as the Digi headers)
#if JucePlugin_Build_RTAS
#define _DO_NOT_DECLARE_INTERLOCKED_INTRINSICS_IN_MEMORY // (workaround for a VC build problem)
#undef _WIN32_WINNT
@ -48,6 +45,9 @@ namespace juce
#include "../utility/juce_IncludeModuleHeaders.h"
#pragma pack (pop)
namespace juce
{
//==============================================================================
void JUCE_CALLTYPE attachSubWindow (void* hostWindow,
int& titleW, int& titleH,
@ -152,7 +152,8 @@ void JUCE_CALLTYPE passFocusToHostWindow (void* hostWindow)
SetFocus (findMDIParentOf ((HWND) hostWindow));
}
#endif
#endif
} // namespace juce
#endif