mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
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:
parent
63253fa342
commit
2fa31e9316
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue