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:
Quentin Mathe 2012-07-05 11:48:16 +00:00
parent 554390210e
commit 5a2b7bc268
2 changed files with 10 additions and 0 deletions

View file

@ -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

View file

@ -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