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:
Richard Frith-MacDonald 2011-10-14 16:54:33 +00:00
parent 341f74b871
commit 9bfdc923c7

View file

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