mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
add comment about clang __block workaround
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33996 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
341f74b871
commit
9bfdc923c7
1 changed files with 4 additions and 0 deletions
|
@ -47,6 +47,10 @@
|
|||
#import "Foundation/NSBundle.h"
|
||||
#import "GNUstepBase/NSBundle+GNUstepBase.h"
|
||||
|
||||
/* We need to wrap unistd.h because it is used throughout the code and some
|
||||
* versions include __block as a variable name, and clang now defines that
|
||||
* as a reserved workd :-(
|
||||
*/
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#define __block __gs_unistd_block
|
||||
#include <unistd.h>
|
||||
|
|
Loading…
Reference in a new issue