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

Get rid of warnings in Windows direct write headers

This commit is contained in:
hogliux 2016-03-08 15:30:24 +00:00
parent c644dbdbd6
commit ac14c59283

View file

@ -44,6 +44,12 @@
#import <QuartzCore/QuartzCore.h>
#elif JUCE_WINDOWS
// get rid of some warnings in Window's own headers
#ifdef JUCE_MSVC
#pragma warning (push)
#pragma warning (disable : 4458)
#endif
#if JUCE_MINGW && JUCE_USE_DIRECTWRITE
#warning "DirectWrite not currently implemented with mingw..."
#undef JUCE_USE_DIRECTWRITE
@ -62,6 +68,10 @@
#include <malloc.h>
#endif
#ifdef JUCE_MSVC
#pragma warning (pop)
#endif
#elif JUCE_IOS
#import <QuartzCore/QuartzCore.h>
#import <CoreText/CoreText.h>