Skip to content

Commit

Permalink
use __clang__ instead of __GNUC__
Browse files Browse the repository at this point in the history
because clang has __GNUC__ macro
  • Loading branch information
Watson1978 committed Feb 17, 2013
1 parent 4e27c8b commit 1f28834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gc-stub.m
Expand Up @@ -31,7 +31,7 @@
* The __RBDummy__ class is only to have something Objective-C in the
* executable bits, for the compiler.
*/
#ifdef __GNUC__
#ifndef __clang__
@interface __RBDummy__
#else
#include <Foundation/Foundation.h>
Expand Down

0 comments on commit 1f28834

Please sign in to comment.