URL:
<http://savannah.gnu.org/bugs/?39081>
Summary: Build error testing for blocks runtime on Mac OS X
Project: GNUstep
Submitted by: leeg
Submitted on: Mon 27 May 2013 04:25:39 PM GMT
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
As the diff shows, -base is checking for the wrong platform compatibility
macro.
--- a/Headers/GNUstepBase/GSVersionMacros.h
+++ b/Headers/GNUstepBase/GSVersionMacros.h
@@ -313,7 +313,7 @@ static inline void gs_consumed(id NS_CONSUMED
GS_UNUSED_ARG o) { return; }
*/
#if __has_feature(blocks)
# if OBJC2RUNTIME
-# if defined(_APPLE_)
+# if defined(__APPLE__)
# include <Block.h>
# else
# include <objc/blocks_runtime.h>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39081>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep