Add one more protection around definition of BOOL.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31510 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2010-10-13 20:24:15 +00:00
parent 4e19857788
commit 53e4e9c4ac
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-10-13 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Cocoa/Cocoa.h: Add one more protection around definition
of BOOL.
2010-10-13 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSApplication.m (-finishLaunching): Open a new document

View file

@ -37,7 +37,7 @@
#define M_PI 3.1415926535897932384626433
#endif
#if (!defined(__cplusplus) && !defined(__USE_ISOC99))
#if (!defined(__cplusplus) && !defined(__USE_ISOC99) && !defined(__bool_true_false_are_defined))
typedef BOOL bool;
#define false NO
#define true YES