mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
* Source/x11/XGServer.m: use #pragma clang
only if clang
compiler is used.
This commit is contained in:
parent
8b66164d88
commit
87da2f0a28
1 changed files with 4 additions and 0 deletions
|
@ -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 ====================================
|
||||
|
|
Loading…
Reference in a new issue