mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 12:00:45 +00:00
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:
parent
4e19857788
commit
53e4e9c4ac
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue