* Source/x11/XGServer.m: use #pragma clang only if clang

compiler is used.
This commit is contained in:
Sergii Stoian 2020-02-03 13:56:18 +02:00
parent 8b66164d88
commit 87da2f0a28

View file

@ -791,8 +791,10 @@ static int byte_order(void)
#include <AppKit/NSClipView.h>
#include <AppKit/NSTextView.h>
#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wobjc-protocol-method-implementation"
#endif
@implementation NSTextView (InputMethod)
@ -907,5 +909,7 @@ static int byte_order(void)
@end // NSTextView
#if defined(__clang__)
#pragma clang diagnostic pop
#endif
//==== End: Additional Code for NSTextView ====================================