mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 09:30:48 +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
6ae4c9b25f
commit
4df4fa1f2f
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…
Add table
Add a link
Reference in a new issue