mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
Fixed recent Clang warnings about IBOutlet and IBAction being already defined
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35257 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
554390210e
commit
5a2b7bc268
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-07-05 Quentin Mathe <quentin.mathe@gmail.com>
|
||||
|
||||
* Headers/AppKit/NSNibDeclarations.h: Fixed recent Clang warnings when
|
||||
compiling applications about IBOutlet and IBAction being already defined.
|
||||
|
||||
2012-06-29 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSWorkspace.m (-_openUnknown:): New method that starts an
|
||||
|
|
|
@ -33,8 +33,13 @@
|
|||
#import <GNUstepBase/GSVersionMacros.h>
|
||||
|
||||
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
|
||||
/* IBOutlet and IBAction are now built-in macros in recent Clang */
|
||||
#if !defined(IBOutlet)
|
||||
#define IBOutlet
|
||||
#endif
|
||||
#if !defined(IBAction)
|
||||
#define IBAction void
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue