Added missing GCC_VERSION macro declaration into GSBLocks.h

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36976 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
lubosd 2013-08-14 21:38:07 +00:00
parent 63253fa342
commit 2fa31e9316

View file

@ -28,6 +28,10 @@
#define __has_feature(x) 0
#endif
#ifndef GCC_VERSION
#define GCC_VERSION (__GNUC__ * 1000 + __GNUC_MINOR__)
#endif
#if __has_feature(blocks)
#define BLOCK_SCOPE __block