Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[bug #39081] Build error testing for blocks runtime on Mac OS X

Skip to first unread message

Graham Lee

unread,
May 27, 2013, 12:25:40 PM5/27/13
to Graham Lee, bug-g...@gnu.org
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/


0 new messages